dev128 - prepare for SN noise and hard fix fp b

file picker bug...
This commit is contained in:
tildearrow 2022-11-25 14:33:56 -05:00
parent 7841c3d0b6
commit 7709a9c3f6
7 changed files with 40 additions and 3 deletions

View file

@ -467,6 +467,7 @@ void DivPlatformSMS::setFlags(const DivConfig& flags) {
break;
}
resetPhase=!flags.getBool("noPhaseReset",false);
easyNoise=!flags.getBool("noEasyNoise",false);
divider=16;
toneDivider=64.0;
noiseDivider=64.0;

View file

@ -70,6 +70,7 @@ class DivPlatformSMS: public DivDispatch {
bool isRealSN;
bool stereo;
bool nuked;
bool easyNoise;
sn76496_base_device* sn;
ympsg_t sn_nuked;
struct QueuedWrite {

View file

@ -330,6 +330,7 @@ void DivPlatformT6W28::setFlags(const DivConfig& flags) {
for (int i=0; i<4; i++) {
oscBuf[i]->rate=rate;
}
easyNoise=!flags.getBool("noEasyNoise",false);
if (t6w!=NULL) {
delete t6w;

View file

@ -60,6 +60,7 @@ class DivPlatformT6W28: public DivDispatch {
DivDispatchOscBuffer* oscBuf[4];
bool isMuted[4];
bool antiClickEnabled;
bool easyNoise;
struct QueuedWrite {
unsigned char addr;
unsigned char val;