diff options
author | ToadKing | 2012-06-17 23:48:57 -0400 |
---|---|---|
committer | ToadKing | 2012-06-17 23:48:57 -0400 |
commit | 109f3ed5de9de169e90ab70c5d54a3b4b7e609af (patch) | |
tree | 9203f2ec7a96a2ca0b1408ead485925897820ee3 | |
parent | 3d94ab02be6a35c5551f2850252c4d873c086c6e (diff) | |
download | snes9x2002-109f3ed5de9de169e90ab70c5d54a3b4b7e609af.tar.gz snes9x2002-109f3ed5de9de169e90ab70c5d54a3b4b7e609af.tar.bz2 snes9x2002-109f3ed5de9de169e90ab70c5d54a3b4b7e609af.zip |
compile fix
-rw-r--r-- | .gitignore | 2 | ||||
-rw-r--r-- | libretro/libretro.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -1,3 +1,3 @@
*.o
-retro.*
+libretro.*
diff --git a/libretro/libretro.cpp b/libretro/libretro.cpp index 4af81a1..2ec65f8 100644 --- a/libretro/libretro.cpp +++ b/libretro/libretro.cpp @@ -435,7 +435,7 @@ bool retro_load_game(const struct retro_game_info *game) S9xSetPlaybackRate(so.playback_rate); S9xSetSoundMute(FALSE); - avail = (samplerate / (Settings.PAL ? 50 : 60)) << 1; + avail = (int) (samplerate / (Settings.PAL ? 50 : 60)) << 1; ZeroMemory(audio_buf, sizeof(audio_buf)); |