mirror of
https://github.com/dborth/fceugx.git
synced 2024-10-31 22:45:05 +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;
|
||||
if(!(GCSettings.render >= 0 && GCSettings.render < 3))
|
||||
GCSettings.render = 2;
|
||||
if(GCSettings.timing != 0 && GCSettings.timing != 1)
|
||||
GCSettings.timing = 0;
|
||||
}
|
||||
|
||||
/****************************************************************************
|
||||
|
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user