Don't reset the VRAM cache if saving a state (#1944)
- This fixes a flickering bug in melonDS DS
This commit is contained in:
parent
8143f54956
commit
740305cc25
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue