Make exceptions consistant across all JITs/Interpeters.

They all handled it diffrently, so I've just moved it into Advance()

This fixes Pokemon Box booting in JIT/JITIL which shared a bug where
exceptions set in a scheduled event would be ignored untill the next
slice (upto 20,000 cycles).
This commit is contained in:
Scott Mansell committed 2016-04-28 17:22:52 +12:00
1 parent 3033096223
commit eb5819f88a
5 files changed
+15 -24

No files matched your search

+5
View File
@@ -453,6 +453,11 @@ void Advance()
g_slicelength = maxslicelength;
PowerPC::ppcState.downcount = CyclesToDowncount(g_slicelength);
}
// Check for any external exceptions.
// It's important to do this after processing events otherwise any exceptions will be delayed until the next slice:
// Pokemon Box refuses to boot if the first exception from the audio DMA is received late
PowerPC::CheckExternalExceptions();
}
void LogPendingEvents()