fix another crash
This commit is contained in:
parent
93dd0f47bd
commit
03dc0c4284
|
@ -762,7 +762,7 @@ void ARMv5::Execute()
|
||||||
if constexpr (mode == CPUExecuteMode::InterpreterGDB)
|
if constexpr (mode == CPUExecuteMode::InterpreterGDB)
|
||||||
GdbCheckB();
|
GdbCheckB();
|
||||||
|
|
||||||
if (!FuncQueueActive && Halted)
|
if (Halted)
|
||||||
{
|
{
|
||||||
if (Halted == 2)
|
if (Halted == 2)
|
||||||
{
|
{
|
||||||
|
@ -955,7 +955,7 @@ void ARMv4::Execute()
|
||||||
if constexpr (mode == CPUExecuteMode::InterpreterGDB)
|
if constexpr (mode == CPUExecuteMode::InterpreterGDB)
|
||||||
GdbCheckB();
|
GdbCheckB();
|
||||||
|
|
||||||
if (!FuncQueueActive && Halted)
|
if (Halted)
|
||||||
{
|
{
|
||||||
if (Halted == 2)
|
if (Halted == 2)
|
||||||
{
|
{
|
||||||
|
|
|
@ -1810,7 +1810,7 @@ u32 NDS::RunFrame()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
//printf("MAIN LOOP: 9 %lli %lli %08X %08llX %i 7 %lli %lli %08X %08llX %i\n", ARM9Timestamp, ARM9Target, ARM9.PC, ARM9.CurInstr, (u8)ARM9.MRTrack.Type, ARM7Timestamp, ARM7Target, ARM7.R[15], ARM7.CurInstr, (u8)ARM7.MRTrack.Type);
|
//printf("A9 LOOP: 9 %lli %lli %08X %08llX %i 7 %lli %lli %08X %08llX %i\n", ARM9Timestamp, ARM9Target, ARM9.PC, ARM9.CurInstr, (u8)ARM9.MRTrack.Type, ARM7Timestamp, ARM7Target, ARM7.R[15], ARM7.CurInstr, (u8)ARM7.MRTrack.Type);
|
||||||
|
|
||||||
RunTimers(0);
|
RunTimers(0);
|
||||||
GPU.GPU3D.Run();
|
GPU.GPU3D.Run();
|
||||||
|
@ -1873,6 +1873,7 @@ u32 NDS::RunFrame()
|
||||||
SPU.TransferOutput();
|
SPU.TransferOutput();
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
//printf("MAIN LOOP: 9 %lli %lli %08X %08llX %i %i %i 7 %lli %lli %08X %08llX %i %i %i\n", ARM9Timestamp, ARM9Target, ARM9.PC, ARM9.CurInstr, (u8)ARM9.MRTrack.Type, ARM9.Halted, ARM9.FuncQueueActive, ARM7Timestamp, ARM7Target, ARM7.R[15], ARM7.CurInstr, (u8)ARM7.MRTrack.Type, ARM7.Halted, ARM7.FuncQueueActive);
|
||||||
|
|
||||||
// In the context of TASes, frame count is traditionally the primary measure of emulated time,
|
// In the context of TASes, frame count is traditionally the primary measure of emulated time,
|
||||||
// so it needs to be tracked even if NDS is powered off.
|
// so it needs to be tracked even if NDS is powered off.
|
||||||
|
|
Loading…
Reference in New Issue