add palette and OAM dirty flag

currently not used anywhere
This commit is contained in:
RSDuck
2020-12-23 09:23:46 +01:00
parent 659dc58d4d
commit 0f353e0d5f
3 changed files with 48 additions and 10 deletions

View File

@ -142,6 +142,9 @@ u8 VRAMFlat_BOBJExtPal[8*1024];
u8 VRAMFlat_Texture[512*1024];
u8 VRAMFlat_TexPal[128*1024];
u32 OAMDirty;
u32 PaletteDirty;
bool Init()
{
GPU2D_A = new GPU2D_Soft(0);
@ -272,6 +275,9 @@ void Reset()
ResetRenderer();
ResetVRAMCache();
OAMDirty = 0x3;
PaletteDirty = 0xF;
}
void Stop()