mirror of
https://github.com/zeldaret/oot.git
synced 2025-07-17 21:35:11 +00:00
Improvements to Video Interface related functions and data (#1332)
* Improvements to VI related functions * Fix * Suggested changes * Comment enum values Co-authored-by: engineer124 <47598039+engineer124@users.noreply.github.com> * Suggested changes, plus comments in visetspecial.c * Name gViConfigModeType * Further suggested changes * Format * Fix comment on modeLPN2 Co-authored-by: engineer124 <47598039+engineer124@users.noreply.github.com>
This commit is contained in:
parent
abb4201e57
commit
c165ed015c
37 changed files with 684 additions and 447 deletions
|
@ -7,7 +7,7 @@ StackEntry sMainStackInfo;
|
|||
OSMesg sPiMgrCmdBuff[50];
|
||||
OSMesgQueue gPiMgrCmdQueue;
|
||||
OSViMode gViConfigMode;
|
||||
u8 D_80013960;
|
||||
u8 gViConfigModeType;
|
||||
|
||||
s8 D_80009430 = 1;
|
||||
vu8 gViConfigBlack = true;
|
||||
|
@ -58,17 +58,17 @@ void Idle_ThreadEntry(void* arg) {
|
|||
|
||||
switch (osTvType) {
|
||||
case OS_TV_NTSC:
|
||||
D_80013960 = 2;
|
||||
gViConfigModeType = OS_VI_NTSC_LAN1;
|
||||
gViConfigMode = osViModeNtscLan1;
|
||||
break;
|
||||
|
||||
case OS_TV_MPAL:
|
||||
D_80013960 = 0x1E;
|
||||
gViConfigModeType = OS_VI_MPAL_LAN1;
|
||||
gViConfigMode = osViModeMpalLan1;
|
||||
break;
|
||||
|
||||
case OS_TV_PAL:
|
||||
D_80013960 = 0x2C;
|
||||
gViConfigModeType = OS_VI_FPAL_LAN1;
|
||||
gViConfigMode = osViModeFpalLan1;
|
||||
gViConfigYScale = 0.833f;
|
||||
break;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue