diff options
-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)); |