mirror of
https://github.com/tildearrow/furnace.git
synced 2025-01-03 14:11:11 +00:00
lynx: fix 3xxx effect not working
This commit is contained in:
parent
7745ebb8ec
commit
6ce2a6743c
1 changed files with 8 additions and 8 deletions
|
@ -224,14 +224,6 @@ bool DivEngine::perSystemEffect(int ch, unsigned char effect, unsigned char effe
|
|||
return false;
|
||||
}
|
||||
break;
|
||||
case DIV_SYSTEM_LYNX:
|
||||
if (effect>=0x30 && effect<0x40) {
|
||||
int value = ((int)(effect&0x0f)<<8)|effectVal;
|
||||
dispatchCmd(DivCommand(DIV_CMD_LYNX_LFSR_LOAD,ch,value));
|
||||
break;
|
||||
}
|
||||
return false;
|
||||
break;
|
||||
case DIV_SYSTEM_OPLL_DRUMS:
|
||||
switch (effect) {
|
||||
case 0x18: // drum mode toggle
|
||||
|
@ -533,6 +525,14 @@ bool DivEngine::perSystemPostEffect(int ch, unsigned char effect, unsigned char
|
|||
return false;
|
||||
}
|
||||
break;
|
||||
case DIV_SYSTEM_LYNX:
|
||||
if (effect>=0x30 && effect<0x40) {
|
||||
int value = ((int)(effect&0x0f)<<8)|effectVal;
|
||||
dispatchCmd(DivCommand(DIV_CMD_LYNX_LFSR_LOAD,ch,value));
|
||||
break;
|
||||
}
|
||||
return false;
|
||||
break;
|
||||
default:
|
||||
return false;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue