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

@ -339,9 +339,6 @@ int DivPlatformSegaPCM::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 127;
break;
@ -372,6 +369,10 @@ void DivPlatformSegaPCM::forceIns() {
}
}
bool DivPlatformSegaPCM::getLegacyAlwaysSetVolume() {
return false;
}
void DivPlatformSegaPCM::notifyInsChange(int ins) {
for (int i=0; i<16; i++) {
if (chan[i].ins==ins) {