1
0
Fork 0
mirror of https://github.com/zeldaret/oot.git synced 2024-11-11 03:39:59 +00:00

Match idle.c (#1643)

This commit is contained in:
cadmic 2024-01-29 03:48:06 -08:00 committed by GitHub
parent 795f7e5251
commit 8af0919e7d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -56,6 +56,9 @@ void Idle_ThreadEntry(void* arg) {
gViConfigYScale = 1.0f; gViConfigYScale = 1.0f;
switch (osTvType) { switch (osTvType) {
#ifndef OOT_DEBUG
case OS_TV_PAL:
#endif
case OS_TV_NTSC: case OS_TV_NTSC:
gViConfigModeType = OS_VI_NTSC_LAN1; gViConfigModeType = OS_VI_NTSC_LAN1;
gViConfigMode = osViModeNtscLan1; gViConfigMode = osViModeNtscLan1;
@ -66,11 +69,13 @@ void Idle_ThreadEntry(void* arg) {
gViConfigMode = osViModeMpalLan1; gViConfigMode = osViModeMpalLan1;
break; break;
#ifdef OOT_DEBUG
case OS_TV_PAL: case OS_TV_PAL:
gViConfigModeType = OS_VI_FPAL_LAN1; gViConfigModeType = OS_VI_FPAL_LAN1;
gViConfigMode = osViModeFpalLan1; gViConfigMode = osViModeFpalLan1;
gViConfigYScale = 0.833f; gViConfigYScale = 0.833f;
break; break;
#endif
} }
D_80009430 = 1; D_80009430 = 1;
@ -84,7 +89,5 @@ void Idle_ThreadEntry(void* arg) {
osStartThread(&gMainThread); osStartThread(&gMainThread);
osSetThreadPri(NULL, OS_PRIORITY_IDLE); osSetThreadPri(NULL, OS_PRIORITY_IDLE);
while (1) { for (;;) {}
;
}
} }