summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorcadmic <cadmic24@gmail.com>2024-01-29 03:48:06 -0800
committerGitHub <noreply@github.com>2024-01-29 12:48:06 +0100
commit8af0919e7d3bc9922154decee89382bb031941a6 (patch)
tree414f5ff958cfcc58f8d83390752965d7f83ab30e /src
parent795f7e5251c8ba2700cbfcc7b9ff17c52e5893e4 (diff)
Match idle.c (#1643)
Diffstat (limited to 'src')
-rw-r--r--src/boot/idle.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/boot/idle.c b/src/boot/idle.c
index 9ef1a7cba..8ae0b588e 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 (;;) {}
}