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

@ -113,6 +113,9 @@ class GPU {
u32 readInternalReg(u32 index);
void writeInternalReg(u32 index, u32 value, u32 mask);
// Used for setting the size of the window we'll be outputting graphics to
void setOutputSize(u32 width, u32 height) { renderer->setOutputSize(width, height); }
// TODO: Emulate the transfer engine & its registers
// Then this can be emulated by just writing the appropriate values there
void clearBuffer(u32 startAddress, u32 endAddress, u32 value, u32 control) { renderer->clearBuffer(startAddress, endAddress, value, control); }