snapname now fixed and slgith SConstruct cleanup

This commit is contained in:
punkrockguy318 2008-08-12 16:48:02 +00:00
parent 4f4f771661
commit 55cba7414f
3 changed files with 7 additions and 5 deletions

View File

@ -64,11 +64,13 @@ else:
dir = ''
zenity = 0
print "Checking for zenity..."
print "Checking for zenity...",
for x in directories:
if os.path.isfile(os.path.join(x, "zenity")):
zenity = 1
if zenity != 1:
if zenity:
print 'yes'
else:
print "*** WARNING ***"
print "Zenity could not be found in the PATH. File dialogs will not work without zenity installed."
raw_input('Press any key to continue. . .')

View File

@ -319,8 +319,8 @@ UpdateEMUCore(Config *config)
config->getOption("SDL.DisableSpriteLimit", &flag);
FCEUI_DisableSpriteLimitation(flag ? 1 : 0);
// config->getOption("SDL.SnapName", &flag);
// FCEUI_SetSnapName(flag ? true : false);
config->getOption("SDL.SnapName", &flag);
FCEUI_SetSnapName(flag ? true : false);
config->getOption("SDL.ScanLineStart", &start);
config->getOption("SDL.ScanLineEnd", &end);

View File

@ -795,7 +795,7 @@ void FCEUI_SetGameGenie(bool a)
void FCEUI_SetSnapName(bool a)
{
FSettings.SnapName=a;
FSettings.SnapName= a;
}
int32 FCEUI_GetDesiredFPS(void)