ADSFGGGGGJKSDGHASLJKFHL
This commit is contained in:
parent
2c7abb4635
commit
a0dc9de262
4 changed files with 72 additions and 38 deletions
|
|
@ -34,9 +34,9 @@ class DivPlatformSNES: public DivDispatch {
|
|||
int note;
|
||||
int panL, panR;
|
||||
bool active, insChanged, freqChanged, keyOn, keyOff, inPorta, useWave, setPos;
|
||||
signed char vol;
|
||||
int vol, outVol;
|
||||
int wtLen;
|
||||
bool useEnv;
|
||||
DivInstrumentSNES state;
|
||||
DivMacroInt std;
|
||||
DivWaveSynth ws;
|
||||
void macroInit(DivInstrument* which) {
|
||||
|
|
@ -53,8 +53,8 @@ class DivPlatformSNES: public DivDispatch {
|
|||
wave(-1),
|
||||
ins(-1),
|
||||
note(0),
|
||||
panL(255),
|
||||
panR(255),
|
||||
panL(127),
|
||||
panR(127),
|
||||
active(false),
|
||||
insChanged(true),
|
||||
freqChanged(false),
|
||||
|
|
@ -64,13 +64,13 @@ class DivPlatformSNES: public DivDispatch {
|
|||
useWave(false),
|
||||
setPos(false),
|
||||
vol(127),
|
||||
wtLen(16),
|
||||
useEnv(false) {}
|
||||
outVol(127),
|
||||
wtLen(16) {}
|
||||
};
|
||||
Channel chan[8];
|
||||
DivDispatchOscBuffer* oscBuf[8];
|
||||
bool isMuted[8];
|
||||
signed char gblVolL, gblVolR;
|
||||
signed char globalVolL, globalVolR;
|
||||
size_t sampleTableBase;
|
||||
|
||||
struct QueuedWrite {
|
||||
|
|
@ -101,6 +101,7 @@ class DivPlatformSNES: public DivDispatch {
|
|||
bool isStereo();
|
||||
void notifyInsChange(int ins);
|
||||
void notifyWaveChange(int wave);
|
||||
void setFlags(unsigned int flags);
|
||||
void notifyInsDeletion(void* ins);
|
||||
void poke(unsigned int addr, unsigned short val);
|
||||
void poke(std::vector<DivRegWrite>& wlist);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue