Mercurial > repos > blastem
comparison render_sdl.c @ 1562:d7b0d0ce8ed1
Fix regression in right audio channel
author | Michael Pavone <pavone@retrodev.com> |
---|---|
date | Wed, 11 Apr 2018 00:17:23 -0700 |
parents | 6ce36c3f250b |
children | 6a62434d6bb1 |
comparison
equal
deleted
inserted
replaced
1561:5a6339e46917 | 1562:d7b0d0ce8ed1 |
---|---|
298 if (src->buffer_pos == buffer_samples * 2) { | 298 if (src->buffer_pos == buffer_samples * 2) { |
299 do_audio_ready(src); | 299 do_audio_ready(src); |
300 } | 300 } |
301 } | 301 } |
302 src->last_left = left; | 302 src->last_left = left; |
303 src->last_right = left; | 303 src->last_right = right; |
304 } | 304 } |
305 | 305 |
306 static SDL_Joystick * joysticks[MAX_JOYSTICKS]; | 306 static SDL_Joystick * joysticks[MAX_JOYSTICKS]; |
307 static int joystick_sdl_index[MAX_JOYSTICKS]; | 307 static int joystick_sdl_index[MAX_JOYSTICKS]; |
308 | 308 |