summaryrefslogtreecommitdiff
path: root/src/code/rcp_utils.c
diff options
context:
space:
mode:
authorTharo <17233964+Thar0@users.noreply.github.com>2022-11-13 07:16:01 +0000
committerGitHub <noreply@github.com>2022-11-13 02:16:01 -0500
commitefe485f01720034ea9e844b3f385e3352bb63b20 (patch)
tree40650cd20948aace578932bc1dafa402e814feaa /src/code/rcp_utils.c
parentd8175501adac32dd10918f67f1a7ea278e2ed862 (diff)
Improve rcp.h, remove `HW_REG` macro (#1425)
* Real rcp.h * Correction to comment in initialize.c * Try fix R4300.h * Adjust rcp.h formatting, remove defines in other headers that are now in rcp.h * Suggested changes, document a bug in the modified osAiSetNextBuffer * More rcp.h formatting changes
Diffstat (limited to 'src/code/rcp_utils.c')
-rw-r--r--src/code/rcp_utils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/code/rcp_utils.c b/src/code/rcp_utils.c
index 5c14c39f9..e258ab02f 100644
--- a/src/code/rcp_utils.c
+++ b/src/code/rcp_utils.c
@@ -50,6 +50,6 @@ void RcpUtils_Reset(void) {
// Flush the RDP pipeline and freeze clock counter
osDpSetStatus(DPC_SET_FREEZE | DPC_SET_FLUSH);
// Halt the RSP, disable interrupt on break and set "task done" signal
- __osSpSetStatus(SP_SET_HALT | SP_SET_SIG2 | SP_CLR_INTR_BREAK);
+ __osSpSetStatus(SP_SET_HALT | SP_SET_TASKDONE | SP_CLR_INTR_BREAK);
RcpUtils_PrintRegisterStatus();
}