hopefully fix all 3D-related crashes when loading savestates
This commit is contained in:
parent
c9a7a0d744
commit
98076f2334
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue