mirror of
https://github.com/tildearrow/furnace.git
synced 2024-11-23 13:05:11 +00:00
i think I got it
but there is a leak
This commit is contained in:
parent
f85c6913ce
commit
e80de1487e
1 changed files with 2 additions and 2 deletions
|
@ -76,7 +76,7 @@ const char* DivPlatformOPLL::getEffectName(unsigned char effect) {
|
|||
}
|
||||
|
||||
const unsigned char cycleMapOPLL[18]={
|
||||
1, 2, 0, 1, 2, 3, 4, 5, 3, 4, 5, 6, 7, 8, 6, 7, 8, 0
|
||||
5, 6, 7, 8, 6, 7, 8, 0, 1, 2, 0, 1, 2, 3, 4, 5, 3, 4
|
||||
};
|
||||
|
||||
void DivPlatformOPLL::acquire_nuked(short* bufL, short* bufR, size_t start, size_t len) {
|
||||
|
@ -103,7 +103,7 @@ void DivPlatformOPLL::acquire_nuked(short* bufL, short* bufR, size_t start, size
|
|||
}
|
||||
}
|
||||
|
||||
unsigned char nextOut=cycleMapOPLL[(fm.cycles+17)%18];
|
||||
unsigned char nextOut=cycleMapOPLL[fm.cycles];
|
||||
OPLL_Clock(&fm,o);
|
||||
if (!isMuted[nextOut]) {
|
||||
os+=(o[0]+o[1]);
|
||||
|
|
Loading…
Reference in a new issue