a workaround for not being able to set and save the ntsc scanline rendering options (which were defaulting to 8->231): change the ntsc scanline rendering to match pal, 0->239. suboptimal but simple and effective.
This commit is contained in:
parent
491a8950f7
commit
3cd4b22cc6
|
@ -59,8 +59,12 @@ static int soundbuftime = 50;
|
||||||
static int soundvolume = 100;
|
static int soundvolume = 100;
|
||||||
static int soundquality = 0;
|
static int soundquality = 0;
|
||||||
static uint8 cpalette[192];
|
static uint8 cpalette[192];
|
||||||
static int srendlinen = 8;
|
//mbg 5/7/08 - I changed the ntsc settings to match pal.
|
||||||
static int erendlinen = 231;
|
//this is more for precision emulation, instead of entertainment, which is what fceux is all about nowadays
|
||||||
|
//static int srendlinen = 8;
|
||||||
|
//static int erendlinen = 231;
|
||||||
|
static int srendlinen = 0;
|
||||||
|
static int erendlinen = 239;
|
||||||
static int srendlinep = 0;
|
static int srendlinep = 0;
|
||||||
static int erendlinep = 239;
|
static int erendlinep = 239;
|
||||||
|
|
||||||
|
|
|
@ -457,7 +457,6 @@ static void BlitScreenWindow(unsigned char *XBuf)
|
||||||
specialmul = 3;
|
specialmul = 3;
|
||||||
else specialmul = 1;
|
else specialmul = 1;
|
||||||
|
|
||||||
|
|
||||||
srect.top=srect.left=0;
|
srect.top=srect.left=0;
|
||||||
srect.right=VNSWID * specialmul;
|
srect.right=VNSWID * specialmul;
|
||||||
srect.bottom=totallines * specialmul;
|
srect.bottom=totallines * specialmul;
|
||||||
|
|
|
@ -379,10 +379,14 @@ int FCEUI_Initialize(void)
|
||||||
AllocBuffers();
|
AllocBuffers();
|
||||||
|
|
||||||
// Initialize some parts of the settings structure
|
// Initialize some parts of the settings structure
|
||||||
|
//mbg 5/7/08 - I changed the ntsc settings to match pal.
|
||||||
|
//this is more for precision emulation, instead of entertainment, which is what fceux is all about nowadays
|
||||||
memset(&FSettings,0,sizeof(FSettings));
|
memset(&FSettings,0,sizeof(FSettings));
|
||||||
FSettings.UsrFirstSLine[0]=8;
|
//FSettings.UsrFirstSLine[0]=8;
|
||||||
|
FSettings.UsrFirstSLine[0]=0;
|
||||||
FSettings.UsrFirstSLine[1]=0;
|
FSettings.UsrFirstSLine[1]=0;
|
||||||
FSettings.UsrLastSLine[0]=231;
|
//FSettings.UsrLastSLine[0]=231;
|
||||||
|
FSettings.UsrLastSLine[0]=239;
|
||||||
FSettings.UsrLastSLine[1]=239;
|
FSettings.UsrLastSLine[1]=239;
|
||||||
FSettings.SoundVolume=100;
|
FSettings.SoundVolume=100;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue