aboutsummaryrefslogtreecommitdiff
path: root/shell/audio
diff options
context:
space:
mode:
authorneonloop2021-03-11 00:59:41 +0000
committerneonloop2021-03-11 00:59:41 +0000
commit0858fb319e54923deb611536cb6c5ad89a6fc70d (patch)
tree301faf731f4620d8379a4db65ab29fe7e8499f25 /shell/audio
parentadaecd14d484d309e4d9ba2353ae843ab5213aec (diff)
downloadsnesemu-0858fb319e54923deb611536cb6c5ad89a6fc70d.tar.gz
snesemu-0858fb319e54923deb611536cb6c5ad89a6fc70d.tar.bz2
snesemu-0858fb319e54923deb611536cb6c5ad89a6fc70d.zip
Fixes menu remapping code
Diffstat (limited to 'shell/audio')
-rw-r--r--shell/audio/sdl/sound_output.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/shell/audio/sdl/sound_output.c b/shell/audio/sdl/sound_output.c
index ae1ab83..0758718 100644
--- a/shell/audio/sdl/sound_output.c
+++ b/shell/audio/sdl/sound_output.c
@@ -46,7 +46,7 @@ static void sdl_write_buffer(uint8_t* data, int32_t len)
SDL_UnlockAudio();
usleep(1000);
SDL_LockAudio();
- }
+ }
*(int32_t*)((char*)(buffer + buf_write_pos)) = *(int32_t*)((char*)(data + i));
//memcpy(buffer + buf_write_pos, data + i, 4);
buf_write_pos = (buf_write_pos + 4) % BUFFSIZE;