update parallel rsp

This commit is contained in:
Logan McNaughton committed 2023-08-09 19:54:07 -06:00
1 parent 5a8a72036a
commit ed433f95a5
4 files changed
+1 -10

No files matched your search

-4
View File
@@ -26,18 +26,14 @@ extern "C"
rsp->sr[rt] = res;
#ifdef PARALLEL_INTEGRATION
// WAIT_FOR_CPU_HOST. From CXD4.
if (rd == CP0_REGISTER_SP_RESERVED)
{
rsp->instruction_count += 4; // Needed for DK64
*rsp->cp0.cr[CP0_REGISTER_SP_RESERVED] = 1;
rsp->did_mfc0 = 1;
return MODE_EXIT;
}
// We don't return control to the CPU if the RDP FREEZE bit is set, doing so seems to cause flickering
else if (rd == CP0_REGISTER_SP_STATUS && (*rsp->cp0.cr[CP0_REGISTER_CMD_STATUS] & DPC_STATUS_FREEZE) == 0)
{
rsp->did_mfc0 = 1;
return MODE_EXIT;
}
#endif