POKEY: louder

This commit is contained in:
tildearrow 2022-12-20 00:34:52 -05:00
parent 4b4a2273d3
commit 541360a446
2 changed files with 6 additions and 0 deletions

View file

@ -159,6 +159,7 @@ int DivPlatformPOKEY::dispatch(DivCommand c) {
chan[c.chan].macroInit(ins);
if (!parent->song.brokenOutVol && !chan[c.chan].std.vol.will) {
chan[c.chan].outVol=chan[c.chan].vol;
chan[c.chan].ctlChanged=true;
}
chan[c.chan].insChanged=false;
break;
@ -310,6 +311,10 @@ bool DivPlatformPOKEY::keyOffAffectsArp(int ch) {
return true;
}
float DivPlatformPOKEY::getPostAmp() {
return 2.0f;
}
void DivPlatformPOKEY::notifyInsDeletion(void* ins) {
for (int i=0; i<4; i++) {
chan[i].std.notifyInsDeletion((DivInstrument*)ins);

View file

@ -64,6 +64,7 @@ class DivPlatformPOKEY: public DivDispatch {
void tick(bool sysTick=true);
void muteChannel(int ch, bool mute);
bool keyOffAffectsArp(int ch);
float getPostAmp();
void setFlags(const DivConfig& flags);
void notifyInsDeletion(void* ins);
void poke(unsigned int addr, unsigned short val);