sigh 5
This commit is contained in:
parent
37fc2ece2c
commit
6349f161eb
|
@ -585,6 +585,7 @@ int DivPlatformSID3::dispatch(DivCommand c) {
|
||||||
if (c.chan>SID3_NUM_CHANNELS - 1) return 0;
|
if (c.chan>SID3_NUM_CHANNELS - 1) return 0;
|
||||||
|
|
||||||
bool updEnv = false;
|
bool updEnv = false;
|
||||||
|
DivInstrument* ins=parent->getIns(chan[c.chan].ins,DIV_INS_SID3);
|
||||||
|
|
||||||
switch (c.cmd) {
|
switch (c.cmd) {
|
||||||
case DIV_CMD_NOTE_ON: {
|
case DIV_CMD_NOTE_ON: {
|
||||||
|
@ -803,8 +804,6 @@ int DivPlatformSID3::dispatch(DivCommand c) {
|
||||||
return SID3_MAX_VOL;
|
return SID3_MAX_VOL;
|
||||||
break;
|
break;
|
||||||
case DIV_CMD_WAVE:
|
case DIV_CMD_WAVE:
|
||||||
DivInstrument* ins=parent->getIns(chan[c.chan].ins,DIV_INS_SID3);
|
|
||||||
|
|
||||||
if(c.chan == SID3_NUM_CHANNELS - 1 && ins->sid3.doWavetable)
|
if(c.chan == SID3_NUM_CHANNELS - 1 && ins->sid3.doWavetable)
|
||||||
{
|
{
|
||||||
chan[c.chan].wavetable = c.value & 0xff;
|
chan[c.chan].wavetable = c.value & 0xff;
|
||||||
|
|
Loading…
Reference in a new issue