mirror of
https://github.com/melonDS-emu/melonDS.git
synced 2025-07-23 06:10:03 -06:00
Don't reset the VRAM cache if saving a state (#1944)
- This fixes a flickering bug in melonDS DS
This commit is contained in:
@ -275,6 +275,7 @@ void GPU::DoSavestate(Savestate* file) noexcept
|
|||||||
GPU2D_B.DoSavestate(file);
|
GPU2D_B.DoSavestate(file);
|
||||||
GPU3D.DoSavestate(file);
|
GPU3D.DoSavestate(file);
|
||||||
|
|
||||||
|
if (!file->Saving)
|
||||||
ResetVRAMCache();
|
ResetVRAMCache();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user