If RSP did not halt, re run it after a few cycles
This commit is contained in:
parent
14eff29e3a
commit
0cdb90fa6d
|
@ -1592,6 +1592,13 @@ void CN64System::RunRSP ( void ) {
|
||||||
if (bShowCPUPer()) { m_CPU_Usage.StartTimer(CPU_UsageAddr); }
|
if (bShowCPUPer()) { m_CPU_Usage.StartTimer(CPU_UsageAddr); }
|
||||||
//if (bProfiling) { m_Profile.StartTimer(ProfileAddr); }
|
//if (bProfiling) { m_Profile.StartTimer(ProfileAddr); }
|
||||||
|
|
||||||
|
if ( ( m_Reg.SP_STATUS_REG & SP_STATUS_HALT ) == 0)
|
||||||
|
{
|
||||||
|
if ( ( m_Reg.SP_STATUS_REG & SP_STATUS_BROKE ) == 0 )
|
||||||
|
{
|
||||||
|
_SystemTimer->SetTimer(CSystemTimer::RspTimer,0x200,false);
|
||||||
|
}
|
||||||
|
}
|
||||||
WriteTrace(TraceRSP, "RunRSP: check interrupts");
|
WriteTrace(TraceRSP, "RunRSP: check interrupts");
|
||||||
_Reg->CheckInterrupts();
|
_Reg->CheckInterrupts();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue