diff options
author | Rémi Calixte <remicalixte.rmc@gmail.com> | 2021-03-21 09:20:11 +0100 |
---|---|---|
committer | Rémi Calixte <remicalixte.rmc@gmail.com> | 2021-03-21 09:20:11 +0100 |
commit | 2aa4e10d388c15f0c4a2f7bf5a27c7560d80ed7f (patch) | |
tree | 245e6a23b979d49d4d3eed9e1412047018285466 | |
parent | 8bfbd3f4983d0843b352b403f08c2894d1001ba1 (diff) |
use hex constant for flag check
-rw-r--r-- | arm9/src/timer3.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arm9/src/timer3.c b/arm9/src/timer3.c index 75689326..1799fd24 100644 --- a/arm9/src/timer3.c +++ b/arm9/src/timer3.c @@ -41,7 +41,7 @@ THUMB_FUNC u64 internal_GetTimer3Count() vu16 timer3 = reg_OS_TM3CNT_L; vu64 timer3_counter = timer3_data.Timer3Counter & 0x0000ffffffffffff; - if (reg_OS_IF & 64 && !(timer3 & 0x8000)) + if (reg_OS_IF & 0x40 && !(timer3 & 0x8000)) { timer3_counter++; } |