OPLL: 94%

muting works (mostly)

TODO:
- FM macros
- proper drums
This commit is contained in:
tildearrow 2022-03-01 00:00:30 -05:00
parent e80de1487e
commit 105aed5a50

View file

@ -76,7 +76,7 @@ const char* DivPlatformOPLL::getEffectName(unsigned char effect) {
}
const unsigned char cycleMapOPLL[18]={
5, 6, 7, 8, 6, 7, 8, 0, 1, 2, 0, 1, 2, 3, 4, 5, 3, 4
8, 7, 6, 7, 8, 7, 8, 6, 0, 1, 2, 7, 8, 9, 3, 4, 5, 9
};
void DivPlatformOPLL::acquire_nuked(short* bufL, short* bufR, size_t start, size_t len) {
@ -103,8 +103,8 @@ void DivPlatformOPLL::acquire_nuked(short* bufL, short* bufR, size_t start, size
}
}
unsigned char nextOut=cycleMapOPLL[fm.cycles];
OPLL_Clock(&fm,o);
unsigned char nextOut=cycleMapOPLL[fm.cycles];
if (!isMuted[nextOut]) {
os+=(o[0]+o[1]);
}