0.9.7: Fix ARM9 intrWaitARM_state save/load

This commit is contained in:
gocha 2012-08-26 03:54:04 +00:00
parent 7c56766d15
commit 900c6d0a94
1 changed files with 3 additions and 3 deletions

View File

@ -131,7 +131,7 @@ SFORMAT SF_ARM9[]={
{ "9LDT", 1, 1, &NDS_ARM9.LDTBit},
{ "9Wai", 4, 1, &NDS_ARM9.waitIRQ},
{ "9hef", 4, 1, &NDS_ARM9.halt_IE_and_IF },
{ "9iws", 1, 1, &NDS_ARM7.intrWaitARM_state },
{ "9iws", 1, 1, &NDS_ARM9.intrWaitARM_state },
{ 0 }
};
@ -427,7 +427,7 @@ static bool mmu_loadstate(EMUFILE* is, int size)
bool ok = MMU_new.backupDevice.load_state(is);
if(version < 3) return true;
if(version < 3) return ok;
ok &= MMU_new.gxstat.loadstate(is);
@ -442,7 +442,7 @@ static bool mmu_loadstate(EMUFILE* is, int size)
ok &= MMU_timing.arm9codeCache.loadstate(is, version);
ok &= MMU_timing.arm9dataCache.loadstate(is, version);
if(version < 4) return true;
if(version < 4) return ok;
ok &= MMU_new.sqrt.loadstate(is,version);
ok &= MMU_new.div.loadstate(is,version);