From 730687d5d35f2fd2c02795e70ac42afee1ef6405 Mon Sep 17 00:00:00 2001 From: Dragorn421 Date: Tue, 21 Sep 2021 09:52:16 +0200 Subject: [PATCH] Use `OS_USEC_TO_CYCLES` to make a time look better in `Graph_TaskSet00` --- src/code/graph.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/code/graph.c b/src/code/graph.c index ad960cf063..d74ff04856 100644 --- a/src/code/graph.c +++ b/src/code/graph.c @@ -156,7 +156,7 @@ void Graph_TaskSet00(GraphicsContext* gfxCtx) { D_8016A528 = osGetTime() - sGraphSetTaskTime - D_8016A558; - osSetTimer(&timer, 140625000, 0, &gfxCtx->queue, (OSMesg)666); + osSetTimer(&timer, OS_USEC_TO_CYCLES(3000000), 0, &gfxCtx->queue, (OSMesg)666); osRecvMesg(&gfxCtx->queue, &msg, OS_MESG_BLOCK); osStopTimer(&timer);