mirror of
https://github.com/ekeeke/Genesis-Plus-GX.git
synced 2024-12-27 03:31:49 +01:00
bugfixes from previous changes
This commit is contained in:
parent
659c46f083
commit
bbdea720d3
@ -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())
|
||||||
{
|
{
|
||||||
|
@ -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();
|
||||||
|
@ -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 */
|
||||||
|
Loading…
Reference in New Issue
Block a user