Skip to content

Commit 705f4c2

Browse files
mpharoahm4xw
authored andcommitted
Fixed build when not using PARALLEL_INTEGRATION
1 parent 658320a commit 705f4c2

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

rsp/cp0.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,12 +44,14 @@ extern "C"
4444
{
4545
if (*rsp->cp0.cr[CP0_REGISTER_SP_SEMAPHORE])
4646
{
47+
#ifdef PARALLEL_INTEGRATION
4748
RSP::MFC0_count[rt] += 8; // Almost certainly waiting on the CPU. Timeout faster.
4849
if (RSP::MFC0_count[rt] >= RSP::SP_STATUS_TIMEOUT)
4950
{
5051
*RSP::rsp.SP_STATUS_REG |= SP_STATUS_HALT;
5152
return MODE_CHECK_FLAGS;
5253
}
54+
#endif
5355
}
5456
else
5557
*rsp->cp0.cr[CP0_REGISTER_SP_SEMAPHORE] = 1;

0 commit comments

Comments
 (0)