Skip to content

Commit

Permalink
Fixed build when not using PARALLEL_INTEGRATION
Browse files Browse the repository at this point in the history
  • Loading branch information
mpharoah authored and m4xw committed Mar 22, 2024
1 parent 658320a commit 705f4c2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions rsp/cp0.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -44,12 +44,14 @@ extern "C"
{
if (*rsp->cp0.cr[CP0_REGISTER_SP_SEMAPHORE])
{
#ifdef PARALLEL_INTEGRATION
RSP::MFC0_count[rt] += 8; // Almost certainly waiting on the CPU. Timeout faster.
if (RSP::MFC0_count[rt] >= RSP::SP_STATUS_TIMEOUT)
{
*RSP::rsp.SP_STATUS_REG |= SP_STATUS_HALT;
return MODE_CHECK_FLAGS;
}
#endif
}
else
*rsp->cp0.cr[CP0_REGISTER_SP_SEMAPHORE] = 1;
Expand Down

0 comments on commit 705f4c2

Please sign in to comment.