From 071e71f388d8fb2c3fa288ad0e69ce8029452ea5 Mon Sep 17 00:00:00 2001 From: Logan McNaughton <848146+loganmc10@users.noreply.github.com> Date: Fri, 12 Aug 2022 09:53:45 -0600 Subject: [PATCH] update parallel rsp --- parallel-rsp/rsp/cp0.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/parallel-rsp/rsp/cp0.cpp b/parallel-rsp/rsp/cp0.cpp index 7827415..5d0db20 100644 --- a/parallel-rsp/rsp/cp0.cpp +++ b/parallel-rsp/rsp/cp0.cpp @@ -40,7 +40,8 @@ extern "C" RSP::MFC0_count[rt] += 1; *rsp->cp0.cr[CP0_REGISTER_SP_RESERVED] = 1; } - if (RSP::MFC0_count[rt] >= RSP::SP_STATUS_TIMEOUT) + // We don't return control to the CPU if the RDP FREEZE bit is set, doing so seems to cause flickering + if (RSP::MFC0_count[rt] >= RSP::SP_STATUS_TIMEOUT && (*rsp->cp0.cr[CP0_REGISTER_CMD_STATUS] & DPC_STATUS_FREEZE) == 0) return MODE_EXIT; #endif