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:
parent
795f7e5251
commit
8af0919e7d
1 changed files with 6 additions and 3 deletions
|
@ -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 (;;) {}
|
||||||
;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue