From 705f4c2e6ba8aa710d16ba080ed599e90161d41a Mon Sep 17 00:00:00 2001 From: Matt Pharoah Date: Tue, 16 Jan 2024 09:38:47 -0500 Subject: [PATCH] Fixed build when not using PARALLEL_INTEGRATION --- rsp/cp0.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/rsp/cp0.cpp b/rsp/cp0.cpp index e700260..e7bcafa 100644 --- a/rsp/cp0.cpp +++ b/rsp/cp0.cpp @@ -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;