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

View File

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

View File

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