In Freeze-Frame mode, don't wipe GPU resources when loading save states.

This commit is contained in:
Henrik Rydgård committed 2013-11-15 16:30:55 +01:00
1 parent 40bd1fa650
commit cd511cc43c
1 file changed
+2 -1
+2 -1
View File
@@ -1601,7 +1601,8 @@ void GLES_GPU::DoState(PointerWrap &p) {
// TODO: Some of these things may not be necessary.
// None of these are necessary when saving.
if (p.mode == p.MODE_READ) {
// In Freeze-Frame mode, we don't want to do any of this.
if (p.mode == p.MODE_READ && !PSP_CoreParameter().frozen) {
textureCache_.Clear(true);
transformDraw_.ClearTrackedVertexArrays();