From 8af0919e7d3bc9922154decee89382bb031941a6 Mon Sep 17 00:00:00 2001 From: cadmic Date: Mon, 29 Jan 2024 03:48:06 -0800 Subject: [PATCH] Match idle.c (#1643) --- src/boot/idle.c | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/src/boot/idle.c b/src/boot/idle.c index 9ef1a7cbaf..8ae0b588ea 100644 --- a/src/boot/idle.c +++ b/src/boot/idle.c @@ -56,6 +56,9 @@ void Idle_ThreadEntry(void* arg) { gViConfigYScale = 1.0f; switch (osTvType) { +#ifndef OOT_DEBUG + case OS_TV_PAL: +#endif case OS_TV_NTSC: gViConfigModeType = OS_VI_NTSC_LAN1; gViConfigMode = osViModeNtscLan1; @@ -66,11 +69,13 @@ void Idle_ThreadEntry(void* arg) { gViConfigMode = osViModeMpalLan1; break; +#ifdef OOT_DEBUG case OS_TV_PAL: gViConfigModeType = OS_VI_FPAL_LAN1; gViConfigMode = osViModeFpalLan1; gViConfigYScale = 0.833f; break; +#endif } D_80009430 = 1; @@ -84,7 +89,5 @@ void Idle_ThreadEntry(void* arg) { osStartThread(&gMainThread); osSetThreadPri(NULL, OS_PRIORITY_IDLE); - while (1) { - ; - } + for (;;) {} }