Merge branch 'master' of https://github.com/tildearrow/furnace into es5506_alt
This commit is contained in:
commit
429aed0ab1
86 changed files with 1718 additions and 283 deletions
|
|
@ -218,9 +218,12 @@ const char* cmdName[]={
|
|||
"SNES_ECHO_FEEDBACK",
|
||||
"SNES_ECHO_FIR",
|
||||
|
||||
"DIV_CMD_NES_ENV_MODE",
|
||||
"DIV_CMD_NES_LENGTH",
|
||||
"DIV_CMD_NES_COUNT_MODE",
|
||||
"NES_ENV_MODE",
|
||||
"NES_LENGTH",
|
||||
"NES_COUNT_MODE",
|
||||
|
||||
"MACRO_OFF",
|
||||
"MACRO_ON",
|
||||
|
||||
"ALWAYS_SET_VOLUME"
|
||||
};
|
||||
|
|
@ -836,6 +839,12 @@ void DivEngine::processRow(int i, bool afterDelay) {
|
|||
chan[i].volSpeed=-effectVal;
|
||||
dispatchCmd(DivCommand(DIV_CMD_HINT_VOL_SLIDE,i,chan[i].volSpeed));
|
||||
break;
|
||||
case 0xf5: // disable macro
|
||||
dispatchCmd(DivCommand(DIV_CMD_MACRO_OFF,i,effectVal&0xff));
|
||||
break;
|
||||
case 0xf6: // enable macro
|
||||
dispatchCmd(DivCommand(DIV_CMD_MACRO_ON,i,effectVal&0xff));
|
||||
break;
|
||||
case 0xf8: // single volume ramp up
|
||||
chan[i].volume=MIN(chan[i].volume+effectVal*256,chan[i].volMax);
|
||||
dispatchCmd(DivCommand(DIV_CMD_VOLUME,i,chan[i].volume>>8));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue