Changed the RSP test to be one if statement
This commit is contained in:
parent
276cc23541
commit
9c245e3c39
|
@ -1592,13 +1592,10 @@ 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_HALT ) == 0 && ( m_Reg.SP_STATUS_REG & SP_STATUS_BROKE ) == 0)
|
||||||
{
|
|
||||||
if ( ( m_Reg.SP_STATUS_REG & SP_STATUS_BROKE ) == 0 )
|
|
||||||
{
|
{
|
||||||
_SystemTimer->SetTimer(CSystemTimer::RspTimer,0x200,false);
|
_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