C219: noise/invert/surround effects/macro

This commit is contained in:
tildearrow 2023-08-28 17:59:34 -05:00
parent 980c93aac4
commit 2fddd9e4d4
4 changed files with 43 additions and 9 deletions

View file

@ -28,7 +28,7 @@ class DivPlatformC140: public DivDispatch {
struct Channel: public SharedChannel<int> {
unsigned int audPos;
int sample, wave;
bool setPos, invert, surround, noise, volChangedL, volChangedR;
bool setPos, invert, surround, noise, volChangedL, volChangedR, writeCtrl;
int chPanL, chPanR;
int chVolL, chVolR;
int macroVolMul;
@ -44,6 +44,7 @@ class DivPlatformC140: public DivDispatch {
noise(false),
volChangedL(false),
volChangedR(false),
writeCtrl(false),
chPanL(255),
chPanR(255),
chVolL(255),