summaryrefslogtreecommitdiff
path: root/src/code/code_800FBCE0.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/code/code_800FBCE0.c')
-rw-r--r--src/code/code_800FBCE0.c16
1 files changed, 9 insertions, 7 deletions
diff --git a/src/code/code_800FBCE0.c b/src/code/code_800FBCE0.c
index 251638883..2c17e6fa2 100644
--- a/src/code/code_800FBCE0.c
+++ b/src/code/code_800FBCE0.c
@@ -1,10 +1,13 @@
#include <z64.h>
-#define printSpStatus(x, name) if (x & SP_STATUS_##name) osSyncPrintf(#name " ")
-#define printDpStatus(x, name) if (x & DPC_STATUS_##name) osSyncPrintf(#name " ")
+#define printSpStatus(x, name) \
+ if (x & SP_STATUS_##name) \
+ osSyncPrintf(#name " ")
+#define printDpStatus(x, name) \
+ if (x & DPC_STATUS_##name) \
+ osSyncPrintf(#name " ")
-void func_800FBCE0()
-{
+void func_800FBCE0() {
u32 spStatus = __osSpGetStatus();
u32 dpStatus = osDpGetStatus();
@@ -41,10 +44,9 @@ void func_800FBCE0()
osSyncPrintf("\n");
}
-void func_800FBFD8()
-{
+void func_800FBFD8() {
func_800FBCE0();
osDpSetStatus(DPC_SET_FREEZE | DPC_SET_FLUSH);
__osSpSetStatus(SP_SET_HALT | SP_SET_SIG2 | SP_CLR_INTR_BREAK);
func_800FBCE0();
-} \ No newline at end of file
+}