diff options
author | neonloop | 2021-08-14 22:39:49 +0000 |
---|---|---|
committer | neonloop | 2021-08-14 22:39:49 +0000 |
commit | 316597f18ebb4758df25c8de2810d6d130ad00be (patch) | |
tree | f3dce1f6eb2695de7b0ed18db104e2238e53686d /plat_sdl.c | |
parent | 890159f001a253c64faf5b95357032c8757fd98c (diff) | |
download | picoarch-316597f18ebb4758df25c8de2810d6d130ad00be.tar.gz picoarch-316597f18ebb4758df25c8de2810d6d130ad00be.tar.bz2 picoarch-316597f18ebb4758df25c8de2810d6d130ad00be.zip |
Adds auto-frameskip to pcsx_rearmed
Diffstat (limited to 'plat_sdl.c')
-rw-r--r-- | plat_sdl.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -273,6 +273,9 @@ float plat_sound_capacity(void) void plat_sound_write(const struct audio_frame *data, int frames) { int consumed = 0; + if (audio.buf_len == 0) + return; + SDL_LockAudio(); while (frames > 0) { |