diff options
| author | Random <28494085+Random06457@users.noreply.github.com> | 2020-04-08 18:36:15 +0200 |
|---|---|---|
| committer | Random <28494085+Random06457@users.noreply.github.com> | 2020-04-08 18:36:15 +0200 |
| commit | d0cf6e153b4f47f04f73656a1534314208b2f596 (patch) | |
| tree | 083231f01a3ba973764514d43bc30579bbcf5b20 /src/code/sched.c | |
| parent | 0a25ab74c4f3399c7fbcedf931604960cedd798f (diff) | |
Decompile sleep.c and printutils.c
- Decompile sleep.c (OK)
- Decompile printutils.c (OK)
- Fix 1 non-matching in z_room.c
- Get rid of some magic numbers
Diffstat (limited to 'src/code/sched.c')
| -rw-r--r-- | src/code/sched.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/code/sched.c b/src/code/sched.c index af971ff2e..b7306425d 100644 --- a/src/code/sched.c +++ b/src/code/sched.c @@ -35,7 +35,7 @@ void func_800C8910(SchedContext* sc) { osSpTaskYield(); if (D_8012D290 != 0) { - osSyncPrintf("%08d:osSpTaskYield\n", (u32)((osGetTime() * 64) / 3000)); + osSyncPrintf("%08d:osSpTaskYield\n", (u32)(OS_CYCLES_TO_USEC(osGetTime()))); } } } |
