volumeChanged isn't shared

This commit is contained in:
tildearrow 2022-12-12 16:57:41 -05:00
parent 1ae1f32574
commit b903a4276e
2 changed files with 2 additions and 1 deletions

View File

@ -56,7 +56,6 @@ struct SharedChannelFreq: public SharedChannel {
// common shared channel volume struct
template<typename T>
struct SharedChannelVolume {
bool volumeChanged;
T vol, outVol, resVol;
SharedChannelVolume(T initVol):
vol(initVol),

View File

@ -32,6 +32,7 @@ class DivPlatformN163: public DivDispatch {
unsigned char waveMode;
short loadWave, loadPos, loadLen;
unsigned char loadMode;
bool volumeChanged;
bool waveChanged, waveUpdated;
DivMacroInt std;
DivWaveSynth ws;
@ -50,6 +51,7 @@ class DivPlatformN163: public DivDispatch {
loadPos(0),
loadLen(0),
loadMode(0),
volumeChanged(false),
waveChanged(false),
waveUpdated(false) {}
};