libretro: Work around crash in RetroArch Vulkan driver

This commit is contained in:
Connor McLaughlin
2020-11-25 23:06:39 +10:00
parent 917fa5dd0e
commit b45bee5954
7 changed files with 34 additions and 25 deletions

View File

@ -95,9 +95,9 @@ void GPU_HW::Reset()
SetFullVRAMDirtyRectangle();
}
bool GPU_HW::DoState(StateWrapper& sw)
bool GPU_HW::DoState(StateWrapper& sw, bool update_display)
{
if (!GPU::DoState(sw))
if (!GPU::DoState(sw, update_display))
return false;
// invalidate the whole VRAM read texture when loading state