Mercurial > repos > blastem
diff psg.c @ 2373:f6213de4224c
Fix psg panning implementation
author | Michael Pavone <pavone@retrodev.com> |
---|---|
date | Wed, 15 Nov 2023 23:23:04 -0800 |
parents | 0343f0d5add0 |
children | 7e1215d17571 |
line wrap: on
line diff
--- a/psg.c Mon Nov 13 23:48:10 2023 -0800 +++ b/psg.c Wed Nov 15 23:23:04 2023 -0800 @@ -143,11 +143,11 @@ if (context->pan & pan_right) { right_accum += value; } - pan_left <<= 1; - pan_right <<= 1; } else { value = 0; } + pan_left <<= 1; + pan_right <<= 1; #ifndef IS_LIB if (context->scope) { scope_add_sample(context->scope, context->scope_channel[i], value, trigger[i]);