summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorToadKing2012-06-17 23:48:57 -0400
committerToadKing2012-06-17 23:48:57 -0400
commit109f3ed5de9de169e90ab70c5d54a3b4b7e609af (patch)
tree9203f2ec7a96a2ca0b1408ead485925897820ee3
parent3d94ab02be6a35c5551f2850252c4d873c086c6e (diff)
downloadsnes9x2002-109f3ed5de9de169e90ab70c5d54a3b4b7e609af.tar.gz
snes9x2002-109f3ed5de9de169e90ab70c5d54a3b4b7e609af.tar.bz2
snes9x2002-109f3ed5de9de169e90ab70c5d54a3b4b7e609af.zip
compile fix
-rw-r--r--.gitignore2
-rw-r--r--libretro/libretro.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/.gitignore b/.gitignore
index c945f27..768131c 100644
--- a/.gitignore
+++ b/.gitignore
@@ -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));