From 3e572789796af686e78e5e4dfb94217ba3208b10 Mon Sep 17 00:00:00 2001 From: zeromus Date: Thu, 22 Jan 2009 07:22:46 +0000 Subject: [PATCH] fix crash after loading savestate matrix stacks originating from revision 1513 --- desmume/src/gfx3d.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/desmume/src/gfx3d.cpp b/desmume/src/gfx3d.cpp index 103470069..df685bfdc 100644 --- a/desmume/src/gfx3d.cpp +++ b/desmume/src/gfx3d.cpp @@ -2001,13 +2001,13 @@ SFORMAT SF_GFX3D[]={ { "GMTM", 4,16, mtxTemporal}, { "GMCU", 4,64, mtxCurrent}, { "GM0P", 4, 1, &mtxStack[0].position}, - { "GM1M", 4,16, &mtxStack[0].matrix}, + { "GM1M", 4,16, mtxStack[0].matrix}, { "GM1P", 4, 1, &mtxStack[1].position}, - { "GM1M", 4,496,&mtxStack[1].matrix}, + { "GM1M", 4,496,mtxStack[1].matrix}, { "GM2P", 4, 1, &mtxStack[2].position}, - { "GM2M", 4,496,&mtxStack[2].matrix}, + { "GM2M", 4,496,mtxStack[2].matrix}, { "GM3P", 4, 1, &mtxStack[3].position}, - { "GM3M", 4,16, &mtxStack[3].matrix}, + { "GM3M", 4,16, mtxStack[3].matrix}, { "ML4I", 1, 1, &ML4x4ind}, { "ML3I", 1, 1, &ML4x3ind}, { "MM4I", 1, 1, &MM4x4ind},