mirror of
https://github.com/simple64/simple64.git
synced 2026-11-13 02:33:49 +01:00
update parallel rsp
This commit is contained in:
1 parent
5a8a72036a
commit
ed433f95a5
4 files changed
+1
-10
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user