mirror of
https://github.com/melonDS-emu/melonDS.git
synced 2025-07-21 05:09:46 -06:00
* store all 32 matrix stack entries in savestates instead of 31.
* bump savestate version up. will break compatibility, but the alternative would be guessing the missing matrix entries somehow, so blarg. * avoid relocating the savefile if loading a savestate fails.
This commit is contained in:
@ -387,8 +387,8 @@ void DoSavestate(Savestate* file)
|
||||
file->VarArray(TexMatrix, 16*4);
|
||||
|
||||
file->VarArray(ProjMatrixStack, 16*4);
|
||||
file->VarArray(PosMatrixStack, 31*16*4);
|
||||
file->VarArray(VecMatrixStack, 31*16*4);
|
||||
file->VarArray(PosMatrixStack, 32*16*4);
|
||||
file->VarArray(VecMatrixStack, 32*16*4);
|
||||
file->VarArray(TexMatrixStack, 16*4);
|
||||
|
||||
file->Var32((u32*)&ProjMatrixStackPointer);
|
||||
|
Reference in New Issue
Block a user