mirror of https://github.com/snes9xgit/snes9x.git
Silence a couple warnings.
This commit is contained in:
parent
2f57076877
commit
c35360b567
|
@ -259,6 +259,7 @@ Snes9xConfig::load_defaults (void)
|
|||
Settings.DynamicRateLimit = 5;
|
||||
Settings.HDMATimingHack = 100;
|
||||
Settings.SuperFXClockMultiplier = 100;
|
||||
Settings.InitialSnapshotFilename[0] = '\0';
|
||||
|
||||
#ifdef NETPLAY_SUPPORT
|
||||
Settings.NetPlay = FALSE;
|
||||
|
|
|
@ -125,7 +125,7 @@ main (int argc, char *argv[])
|
|||
|
||||
gtk_window_present (top_level->get_window ());
|
||||
|
||||
if (rom_filename && Settings.InitialSnapshotFilename)
|
||||
if (rom_filename && *Settings.InitialSnapshotFilename)
|
||||
S9xUnfreezeGame(Settings.InitialSnapshotFilename);
|
||||
|
||||
gtk_main ();
|
||||
|
|
|
@ -262,7 +262,7 @@ S9xPulseSoundDriver::samples_available (void)
|
|||
}
|
||||
}
|
||||
|
||||
bytes = MIN (bytes, (samples << (Settings.SixteenBitSound ? 1 : 0)));
|
||||
bytes = MIN ((int) bytes, (samples << (Settings.SixteenBitSound ? 1 : 0)));
|
||||
|
||||
if (!bytes)
|
||||
return;
|
||||
|
|
Loading…
Reference in New Issue