implement Furnace-style PCM on Arcade/Gen/NES/PCE
This commit is contained in:
parent
812d0397a8
commit
0f28ae0fee
8 changed files with 132 additions and 39 deletions
|
|
@ -8,7 +8,7 @@ class DivPlatformNES: public DivDispatch {
|
|||
struct Channel {
|
||||
int freq, baseFreq, pitch, prevFreq;
|
||||
unsigned char ins, note, duty, sweep;
|
||||
bool active, insChanged, freqChanged, sweepChanged, keyOn, keyOff, inPorta;
|
||||
bool active, insChanged, freqChanged, sweepChanged, keyOn, keyOff, inPorta, furnaceDac;
|
||||
signed char vol, outVol, wave;
|
||||
DivMacroInt std;
|
||||
Channel():
|
||||
|
|
@ -27,6 +27,7 @@ class DivPlatformNES: public DivDispatch {
|
|||
keyOn(false),
|
||||
keyOff(false),
|
||||
inPorta(false),
|
||||
furnaceDac(false),
|
||||
vol(15),
|
||||
outVol(15),
|
||||
wave(-1) {}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue