aboutsummaryrefslogtreecommitdiff
path: root/src/GPU.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/GPU.cpp')
-rw-r--r--src/GPU.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/GPU.cpp b/src/GPU.cpp
index c226ccb..f23e641 100644
--- a/src/GPU.cpp
+++ b/src/GPU.cpp
@@ -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