NES: NSFPlay per-channel osc
This commit is contained in:
parent
61b4e3745f
commit
de09073232
3 changed files with 10 additions and 2 deletions
|
|
@ -27,7 +27,6 @@ namespace xgm
|
|||
|
||||
unsigned int gclock;
|
||||
unsigned char reg[0x20];
|
||||
int out[2];
|
||||
double rate, clock;
|
||||
|
||||
int square_table[32]; // nonlinear mixer
|
||||
|
|
@ -63,6 +62,7 @@ namespace xgm
|
|||
int calc_sqr (int ch, unsigned int clocks);
|
||||
|
||||
public:
|
||||
int out[2];
|
||||
NES_APU ();
|
||||
~NES_APU ();
|
||||
|
||||
|
|
|
|||
|
|
@ -36,7 +36,6 @@ namespace xgm
|
|||
unsigned int len_reg;
|
||||
unsigned int adr_reg;
|
||||
std::function<void(unsigned short, unsigned int&)> memory;
|
||||
unsigned int out[3];
|
||||
unsigned int daddress;
|
||||
unsigned int dlength;
|
||||
unsigned int data;
|
||||
|
|
@ -91,6 +90,7 @@ namespace xgm
|
|||
inline unsigned int calc_noise (unsigned int clocks);
|
||||
|
||||
public:
|
||||
unsigned int out[3];
|
||||
NES_DMC ();
|
||||
~NES_DMC ();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue