From 52c03f1fd6bff12dc37df2811a1478ea4d9dec31 Mon Sep 17 00:00:00 2001 From: tildearrow Date: Thu, 3 Mar 2022 04:36:52 -0500 Subject: [PATCH] OPLL: swap top and tom --- src/engine/platform/opll.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/engine/platform/opll.cpp b/src/engine/platform/opll.cpp index f49f48731..df4fca9ec 100644 --- a/src/engine/platform/opll.cpp +++ b/src/engine/platform/opll.cpp @@ -440,7 +440,7 @@ int DivPlatformOPLL::dispatch(DivCommand c) { } rWrite(0x36,drumVol[0]); rWrite(0x37,drumVol[1]|(drumVol[4]<<4)); - rWrite(0x38,drumVol[3]|(drumVol[2]<<4)); + rWrite(0x38,drumVol[2]|(drumVol[3]<<4)); } chan[c.chan].freqChanged=true; } @@ -475,7 +475,7 @@ int DivPlatformOPLL::dispatch(DivCommand c) { drumVol[c.chan-6]=15-chan[c.chan].outVol; rWrite(0x36,drumVol[0]); rWrite(0x37,drumVol[1]|(drumVol[4]<<4)); - rWrite(0x38,drumVol[3]|(drumVol[2]<<4)); + rWrite(0x38,drumVol[2]|(drumVol[3]<<4)); break; } if (c.chan<6 || !drums) {