mirror of
https://github.com/dborth/fceugx.git
synced 2025-01-07 14:28:18 +01:00
PAL *should* be good now
This commit is contained in:
parent
1eeb4b0638
commit
394acbb40b
@ -42,6 +42,8 @@ void FixInvalidSettings()
|
|||||||
GCSettings.Controller = CTRL_PAD2;
|
GCSettings.Controller = CTRL_PAD2;
|
||||||
if(!(GCSettings.render >= 0 && GCSettings.render < 3))
|
if(!(GCSettings.render >= 0 && GCSettings.render < 3))
|
||||||
GCSettings.render = 2;
|
GCSettings.render = 2;
|
||||||
|
if(GCSettings.timing != 0 && GCSettings.timing != 1)
|
||||||
|
GCSettings.timing = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
|
@ -585,26 +585,10 @@ ResetVideo_Emu ()
|
|||||||
|
|
||||||
// choose current VI mode
|
// choose current VI mode
|
||||||
if (GCSettings.render == 0) // original render mode
|
if (GCSettings.render == 0) // original render mode
|
||||||
{
|
|
||||||
rmode = tvmodes[GCSettings.timing];
|
rmode = tvmodes[GCSettings.timing];
|
||||||
}
|
else // filtered/unfiltered
|
||||||
else if (GCSettings.render == 2) // unfiltered
|
|
||||||
{
|
|
||||||
rmode = vmode;
|
|
||||||
}
|
|
||||||
else // filtered
|
|
||||||
{
|
|
||||||
rmode = vmode; // same mode as menu
|
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
|
// reconfigure VI
|
||||||
VIDEO_Configure (rmode);
|
VIDEO_Configure (rmode);
|
||||||
VIDEO_Flush();
|
VIDEO_Flush();
|
||||||
|
Loading…
Reference in New Issue
Block a user