mirror of
https://github.com/melonDS-emu/melonDS.git
synced 2025-07-21 05:09:46 -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,7 +275,8 @@ void GPU::DoSavestate(Savestate* file) noexcept
|
|||||||
GPU2D_B.DoSavestate(file);
|
GPU2D_B.DoSavestate(file);
|
||||||
GPU3D.DoSavestate(file);
|
GPU3D.DoSavestate(file);
|
||||||
|
|
||||||
ResetVRAMCache();
|
if (!file->Saving)
|
||||||
|
ResetVRAMCache();
|
||||||
}
|
}
|
||||||
|
|
||||||
void GPU::AssignFramebuffers() noexcept
|
void GPU::AssignFramebuffers() noexcept
|
||||||
|
Reference in New Issue
Block a user