diff options
| author | fig02 <fig02srl@gmail.com> | 2020-03-22 19:17:31 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-03-22 19:17:31 -0400 |
| commit | d85168f0b088c8e5f661725f45946ca10cc82956 (patch) | |
| tree | 458fc503a1d5b3003cb50a9bece9a1c2a0b4e700 /src/code/code_800FBCE0.c | |
| parent | b372169893f1e66654b03d9d39b44a59893da8ec (diff) | |
| parent | 51290f612635a87d879b6332400ad526c479441e (diff) | |
Merge pull request #10 from Roman971/setup-formatter
Setup formatter script and format files in src/ and include/
Diffstat (limited to 'src/code/code_800FBCE0.c')
| -rw-r--r-- | src/code/code_800FBCE0.c | 16 |
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 +} |
