mirror of
https://github.com/Oibaf66/fbzx-wii.git
synced 2024-11-24 17:16:57 +01:00
Added component cable check
This commit is contained in:
parent
019e4d8524
commit
acc37ba021
@ -362,7 +362,8 @@ int set_video_mode()
|
|||||||
|
|
||||||
rmode = VIDEO_GetPreferredMode(NULL);
|
rmode = VIDEO_GetPreferredMode(NULL);
|
||||||
|
|
||||||
if ((rmode->viTVMode)!=VI_TVMODE_PAL_INT) return -1;
|
if (!VIDEO_HaveComponentCable()) return 1;
|
||||||
|
if ((rmode->viTVMode)!=VI_TVMODE_PAL_INT) return 2;
|
||||||
|
|
||||||
switch(ordenador.progressive)
|
switch(ordenador.progressive)
|
||||||
{
|
{
|
||||||
|
@ -578,10 +578,16 @@ static void screen_settings(void)
|
|||||||
}
|
}
|
||||||
if (submenus[3] != submenus_old[3])
|
if (submenus[3] != submenus_old[3])
|
||||||
{
|
{
|
||||||
if (set_video_mode())
|
switch (set_video_mode())
|
||||||
{
|
{
|
||||||
|
case 1:
|
||||||
|
msgInfo("Necessary component cable",3000,NULL);
|
||||||
|
ordenador.progressive = 0;
|
||||||
|
break;
|
||||||
|
case 2:
|
||||||
msgInfo("Only avalaible from 576i PAL",3000,NULL);
|
msgInfo("Only avalaible from 576i PAL",3000,NULL);
|
||||||
ordenador.progressive = 0;
|
ordenador.progressive = 0;
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user