Merge branch 'master' of https://github.com/tildearrow/furnace into dialog-nitpicks
This commit is contained in:
commit
7a3319b87a
BIN
demos/ay8930/AY8930Shuffle.fur
Normal file
BIN
demos/ay8930/AY8930Shuffle.fur
Normal file
Binary file not shown.
BIN
demos/sms/FlowOfSN7.fur
Normal file
BIN
demos/sms/FlowOfSN7.fur
Normal file
Binary file not shown.
|
@ -351,7 +351,7 @@ void SID::write(int offset, unsigned char value)
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case 0x04: // Voice #1 control register
|
case 0x04: // Voice #1 control register
|
||||||
voice[0]->writeCONTROL_REG(muted[0] ? 0 : value);
|
voice[0]->writeCONTROL_REG(value);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case 0x05: // Voice #1 Attack and Decay length
|
case 0x05: // Voice #1 Attack and Decay length
|
||||||
|
@ -379,7 +379,7 @@ void SID::write(int offset, unsigned char value)
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case 0x0b: // Voice #2 control register
|
case 0x0b: // Voice #2 control register
|
||||||
voice[1]->writeCONTROL_REG(muted[1] ? 0 : value);
|
voice[1]->writeCONTROL_REG(value);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case 0x0c: // Voice #2 Attack and Decay length
|
case 0x0c: // Voice #2 Attack and Decay length
|
||||||
|
@ -407,7 +407,7 @@ void SID::write(int offset, unsigned char value)
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case 0x12: // Voice #3 control register
|
case 0x12: // Voice #3 control register
|
||||||
voice[2]->writeCONTROL_REG(muted[2] ? 0 : value);
|
voice[2]->writeCONTROL_REG(value);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case 0x13: // Voice #3 Attack and Decay length
|
case 0x13: // Voice #3 Attack and Decay length
|
||||||
|
|
|
@ -320,11 +320,11 @@ int SID::output()
|
||||||
const int v2 = voice[1]->output(voice[0]->wave());
|
const int v2 = voice[1]->output(voice[0]->wave());
|
||||||
const int v3 = voice[2]->output(voice[1]->wave());
|
const int v3 = voice[2]->output(voice[1]->wave());
|
||||||
|
|
||||||
lastChanOut[0]=v1;
|
lastChanOut[0]=muted[0]?0:v1;
|
||||||
lastChanOut[1]=v2;
|
lastChanOut[1]=muted[1]?0:v2;
|
||||||
lastChanOut[2]=v3;
|
lastChanOut[2]=muted[2]?0:v3;
|
||||||
|
|
||||||
return externalFilter->clock(filter->clock(v1, v2, v3));
|
return externalFilter->clock(filter->clock(muted[0]?0:v1, muted[1]?0:v2, muted[2]?0:v3));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue