summaryrefslogtreecommitdiff
path: root/src/code/code_800FBCE0.c
diff options
context:
space:
mode:
authorRoman971 <romanlasnier@hotmail.com>2020-03-22 22:19:43 +0100
committerRoman971 <romanlasnier@hotmail.com>2020-03-22 22:20:03 +0100
commit8cfe7cce9f8d8abea794e67510879e751d373a87 (patch)
treec6c46f34d3575f6dc02b98b2b5f5ad88d2b2c64e /src/code/code_800FBCE0.c
parent251aea64ab3e6e8cd6f1d9ed34f514e656724777 (diff)
Format all src C files
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
+}