From 4c884ea82336550866756c4421b9d72e87052742 Mon Sep 17 00:00:00 2001 From: Wohlstand Date: Sun, 6 Apr 2025 00:28:25 +0300 Subject: YMF262-LLE: Fixed stereo channels They was been swapped, now they are okay. --- src/chips/ymf262_lle/nopl3.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/chips/ymf262_lle/nopl3.c b/src/chips/ymf262_lle/nopl3.c index 6deb005..850cc1e 100644 --- a/src/chips/ymf262_lle/nopl3.c +++ b/src/chips/ymf262_lle/nopl3.c @@ -193,8 +193,8 @@ void nopl3_getsample(void *chip, short *sndptr, int numsamples) buf1 = (chip2->oldsample[1] * (chip2->rateratio - chip2->samplecnt) + chip2->sample_b * chip2->samplecnt) / chip2->rateratio; chip2->samplecnt += 1 << RSM_FRAC; - *p++ = buf0; *p++ = buf1; + *p++ = buf0; } } @@ -222,8 +222,8 @@ void nopl3_getsample_one_native(void *chip, short *sndptr) chip2->samplecnt -= chip2->rateratio; chip2->samplecnt += 1 << RSM_FRAC; - *p++ = chip2->sample_a; *p++ = chip2->sample_b; + *p++ = chip2->sample_a; } void nopl3_write(void *chip, int port, int val) -- cgit v1.2.3