Don't reset the VRAM cache if saving a state (#1944)

- This fixes a flickering bug in melonDS DS
This commit is contained in:
Jesse Talavera
2024-01-08 09:20:48 -05:00
committed by GitHub
parent 8143f54956
commit 740305cc25

View File

@ -275,7 +275,8 @@ void GPU::DoSavestate(Savestate* file) noexcept
GPU2D_B.DoSavestate(file);
GPU3D.DoSavestate(file);
ResetVRAMCache();
if (!file->Saving)
ResetVRAMCache();
}
void GPU::AssignFramebuffers() noexcept