Make emulator output size properly configurable

This commit is contained in:
wheremyfoodat 2023-10-01 16:28:14 +03:00
parent 27a04a806e
commit c10a3e7160
8 changed files with 30 additions and 7 deletions

View file

@ -120,5 +120,7 @@ class Emulator {
void initGraphicsContext() { gpu.initGraphicsContext(window); }
#endif
void setOutputSize(u32 width, u32 height) { gpu.setOutputSize(width, height); }
EmulatorConfig& getConfig() { return config; }
};