cdrom: fix a copy-paste mistake
authornotaz <notasas@gmail.com>
Wed, 6 Dec 2023 22:03:37 +0000 (00:03 +0200)
committernotaz <notasas@gmail.com>
Wed, 6 Dec 2023 22:14:39 +0000 (00:14 +0200)
thanks to xjsxjs197 for the report

libpcsxcore/cdrom.c

index 24ff961..b980be0 100644 (file)
@@ -1588,8 +1588,8 @@ void cdrWrite3(unsigned char rt) {
                            rl == cdr.AttenuatorRightToLeft &&
                            rr == cdr.AttenuatorRightToRight)
                                return;
-                       cdr.AttenuatorLeftToLeftT = ll; cdr.AttenuatorLeftToRightT = lr;
-                       cdr.AttenuatorRightToLeftT = rl; cdr.AttenuatorRightToRightT = rr;
+                       cdr.AttenuatorLeftToLeft = ll; cdr.AttenuatorLeftToRight = lr;
+                       cdr.AttenuatorRightToLeft = rl; cdr.AttenuatorRightToRight = rr;
                        CDR_LOG_I("CD-XA Volume: %02x %02x | %02x %02x\n", ll, lr, rl, rr);
                        SPU_setCDvol(ll, lr, rl, rr, psxRegs.cycle);
                }