diff options
Diffstat (limited to 'src/devices/sound/ymf262.cpp')
-rw-r--r-- | src/devices/sound/ymf262.cpp | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/src/devices/sound/ymf262.cpp b/src/devices/sound/ymf262.cpp index 563f7016513..4fbf030cfb9 100644 --- a/src/devices/sound/ymf262.cpp +++ b/src/devices/sound/ymf262.cpp @@ -2615,16 +2615,15 @@ void ymf262_update_one(void *_chip, OPL3SAMPLE **buffers, int length) signed int *chanout = chip->chanout; uint8_t rhythm = chip->rhythm&0x20; - OPL3SAMPLE *ch_a = buffers[0]; - OPL3SAMPLE *ch_b = buffers[1]; - OPL3SAMPLE *ch_c = buffers[2]; - OPL3SAMPLE *ch_d = buffers[3]; + OPL3SAMPLE *ch_a = buffers[0]; // DO2 (mixed) left output for OPL4 + OPL3SAMPLE *ch_b = buffers[1]; // DO2 (mixed) right output for OPL4 + OPL3SAMPLE *ch_c = buffers[2]; // DO0 (FM only) left output for OPL4 + OPL3SAMPLE *ch_d = buffers[3]; // DO0 (FM only) right output for OPL4 for( i=0; i < length ; i++ ) { int a,b,c,d; - advance_lfo(chip); /* clear channel outputs */ |