bugfixes from previous changes

This commit is contained in:
ekeeke31 2012-04-09 13:35:45 +00:00
parent 659c46f083
commit bbdea720d3
3 changed files with 7 additions and 7 deletions

View File

@ -221,7 +221,7 @@ void config_default(void)
/* restore inputs */ /* restore inputs */
input_init(); input_init();
#ifdef HW_RVL #ifndef HW_RVL
/* support for progressive mode (480p) if component cable has been detected */ /* support for progressive mode (480p) if component cable has been detected */
if (VIDEO_HaveComponentCable()) if (VIDEO_HaveComponentCable())
{ {

View File

@ -128,12 +128,6 @@ void legal ()
/* switch user progressive mode configuration */ /* switch user progressive mode configuration */
config.v_prog ^= 1; config.v_prog ^= 1;
if (VIDEO_HaveComponentCable())
{
/* switch video mode only if component cable has been detected */
vmode = config.v_prog ? &TVNtsc480Prog : &TVNtsc480IntDf;
}
/* play sound to inform user then enter main menu */ /* play sound to inform user then enter main menu */
ASND_Pause(0); ASND_Pause(0);
int voice = ASND_GetFirstUnusedVoice(); int voice = ASND_GetFirstUnusedVoice();

View File

@ -1384,6 +1384,12 @@ void gx_video_Stop(void)
#ifdef HW_RVL #ifdef HW_RVL
VIDEO_SetTrapFilter(1); VIDEO_SetTrapFilter(1);
VIDEO_SetGamma(VI_GM_1_0); VIDEO_SetGamma(VI_GM_1_0);
#else
if (VIDEO_HaveComponentCable())
{
/* switch video mode only if component cable has been detected */
vmode = config.v_prog ? &TVNtsc480Prog : &TVNtsc480IntDf;
}
#endif #endif
/* adjust TV width */ /* adjust TV width */