dev191 - kind of remove DIV_ALWAYS_SET_VOLUME

it's useless crap I put during the Defle compat days
it serves nearly no purpose nowadays

also why is it a command?
This commit is contained in:
tildearrow 2024-01-16 23:54:32 -05:00
parent 95aff38cb2
commit f8187b9a5f
87 changed files with 105 additions and 207 deletions

View file

@ -316,9 +316,6 @@ int DivPlatformSAA1099::dispatch(DivCommand c) {
case DIV_CMD_MACRO_ON:
chan[c.chan].std.mask(c.value,false);
break;
case DIV_ALWAYS_SET_VOLUME:
return 0;
break;
case DIV_CMD_GET_VOLMAX:
return 15;
break;
@ -435,6 +432,10 @@ bool DivPlatformSAA1099::keyOffAffectsArp(int ch) {
return true;
}
bool DivPlatformSAA1099::getLegacyAlwaysSetVolume() {
return false;
}
void DivPlatformSAA1099::notifyInsDeletion(void* ins) {
for (int i=0; i<6; i++) {
chan[i].std.notifyInsDeletion((DivInstrument*)ins);