Mercurial > repos > blastem
diff psg.c @ 2527:7e1215d17571
Log Game Gear PSG Pan to VGM
author | Michael Pavone <pavone@retrodev.com> |
---|---|
date | Mon, 11 Nov 2024 11:20:22 -0800 |
parents | f6213de4224c |
children |
line wrap: on
line diff
--- a/psg.c Mon Nov 11 10:45:14 2024 -0800 +++ b/psg.c Mon Nov 11 11:20:22 2024 -0800 @@ -198,6 +198,9 @@ vgm_sn76489_write(context->vgm, context->cycles, context->counter_load[chan] >> 4 & 0x3F); } } + if (context->pan != 0xFF) { + vgm_gg_pan_write(context->vgm, context->cycles, context->pan); + } } void psg_serialize(psg_context *context, serialize_buffer *buf)