From d0cf6e153b4f47f04f73656a1534314208b2f596 Mon Sep 17 00:00:00 2001 From: Random <28494085+Random06457@users.noreply.github.com> Date: Wed, 8 Apr 2020 18:36:15 +0200 Subject: 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 --- src/code/__osMalloc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/code/__osMalloc.c') diff --git a/src/code/__osMalloc.c b/src/code/__osMalloc.c index d5501c663..6b4d84eaf 100644 --- a/src/code/__osMalloc.c +++ b/src/code/__osMalloc.c @@ -711,7 +711,7 @@ void __osDisplayArena(Arena* arena) { iter->size); if (!iter->isFree) { - osSyncPrintf(" [%016llu:%2d:%s:%d]", (iter->time * 64ll) / 3ull, iter->threadId, + osSyncPrintf(" [%016llu:%2d:%s:%d]", OS_CYCLES_TO_NSEC(iter->time), iter->threadId, iter->filename ? iter->filename : "**NULL**", iter->line); } -- cgit v1.2.3