fix bug from r3935 which broke textures when loading savestate while using softrasterizer

This commit is contained in:
zeromus 2011-03-08 07:00:22 +00:00
parent 782a15da11
commit ade66fd351
1 changed files with 2 additions and 3 deletions

View File

@ -459,9 +459,8 @@ static bool mmu_loadstate(EMUFILE* is, int size)
MMU_new.gxstat.fifo_low = gxFIFO.size <= 127;
MMU_new.gxstat.fifo_empty = gxFIFO.size == 0;
if(version < 4) return ok;
MMU.reg_DISP3DCNT_bits = T1ReadWord(MMU.ARM9_REG,0x60);
if(version < 5)
MMU.reg_DISP3DCNT_bits = T1ReadWord(MMU.ARM9_REG,0x60);
if(version < 6) return ok;