diff options
Diffstat (limited to 'src/GPU3D.cpp')
-rw-r--r-- | src/GPU3D.cpp | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/GPU3D.cpp b/src/GPU3D.cpp index d094537..47843e4 100644 --- a/src/GPU3D.cpp +++ b/src/GPU3D.cpp @@ -489,8 +489,12 @@ void DoSavestate(Savestate* file) ClipMatrixDirty = true; UpdateClipMatrix(); - CurVertexRAM = &VertexRAM[CurRAMBank]; - CurPolygonRAM = &PolygonRAM[CurRAMBank]; + CurVertexRAM = &VertexRAM[CurRAMBank ? 6144 : 0]; + CurPolygonRAM = &PolygonRAM[CurRAMBank ? 2048 : 0]; + + // better safe than sorry, I guess + // might cause a blank frame but atleast it won't shit itself + RenderNumPolygons = 0; } } |