diff options
| author | shawlucas <lgs84@cornell.edu> | 2020-03-23 14:41:50 -0700 |
|---|---|---|
| committer | shawlucas <lgs84@cornell.edu> | 2020-03-23 14:41:50 -0700 |
| commit | 09afb8d5528118e287d3b126dd9f8a4e803b5ea7 (patch) | |
| tree | 9763c68b8511f23f7801939cac736bf96a502d54 /src/libultra_code/code_801067A0.c | |
| parent | 2d97f0dd58dc3b3aaecc99010716f2ce21b9eed5 (diff) | |
| parent | 8e316933d596204aa42fcfc2587fee480b4e114e (diff) | |
Merge branch 'master' of https://github.com/zeldaret/oot
Diffstat (limited to 'src/libultra_code/code_801067A0.c')
| -rw-r--r-- | src/libultra_code/code_801067A0.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/libultra_code/code_801067A0.c b/src/libultra_code/code_801067A0.c index 2257881ab..0ea5f968c 100644 --- a/src/libultra_code/code_801067A0.c +++ b/src/libultra_code/code_801067A0.c @@ -2,14 +2,14 @@ #include <global.h> #include <ultra64/hardware.h> -s32 func_801067A0(u32 a0) -{ +s32 func_801067A0(u32 a0) { register u32 spStatus; spStatus = HW_REG(SP_STATUS_REG, u32); - if (!(spStatus & SP_STATUS_HALT)) + if (!(spStatus & SP_STATUS_HALT)) { return -1; + } HW_REG(SP_PC_REG, u32) = a0; |
