diff options
author | Wohlstand <admin@wohlnet.ru> | 2025-04-06 00:28:25 +0300 |
---|---|---|
committer | Wohlstand <admin@wohlnet.ru> | 2025-04-06 00:28:25 +0300 |
commit | 4c884ea82336550866756c4421b9d72e87052742 (patch) | |
tree | d062dd37a29f412f77b385456bc3b43a8bbb2406 /src | |
parent | 01697b82f4e09263962f7129672821e6d7b70c0b (diff) | |
download | libADLMIDI-4c884ea82336550866756c4421b9d72e87052742.tar.gz libADLMIDI-4c884ea82336550866756c4421b9d72e87052742.tar.bz2 libADLMIDI-4c884ea82336550866756c4421b9d72e87052742.zip |
YMF262-LLE: Fixed stereo channels
They was been swapped, now they are okay.
Diffstat (limited to 'src')
-rw-r--r-- | src/chips/ymf262_lle/nopl3.c | 4 |
1 files 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) |