PAL *should* be good now

This commit is contained in:
dborth 2009-04-21 22:36:46 +00:00
parent 1eeb4b0638
commit 394acbb40b
2 changed files with 3 additions and 17 deletions

View File

@ -42,6 +42,8 @@ void FixInvalidSettings()
GCSettings.Controller = CTRL_PAD2;
if(!(GCSettings.render >= 0 && GCSettings.render < 3))
GCSettings.render = 2;
if(GCSettings.timing != 0 && GCSettings.timing != 1)
GCSettings.timing = 0;
}
/****************************************************************************

View File

@ -585,26 +585,10 @@ ResetVideo_Emu ()
// choose current VI mode
if (GCSettings.render == 0) // original render mode
{
rmode = tvmodes[GCSettings.timing];
}
else if (GCSettings.render == 2) // unfiltered
{
rmode = vmode;
}
else // filtered
{
else // filtered/unfiltered
rmode = vmode; // same mode as menu
if(rmode->viTVMode >> 2 == VI_PAL)
{
rmode = &TVPal574IntDfScale;
rmode->xfbHeight = 480;
rmode->viYOrigin = (VI_MAX_HEIGHT_PAL - 480)/2;
rmode->viHeight = 480;
}
}
// reconfigure VI
VIDEO_Configure (rmode);
VIDEO_Flush();