This commit is contained in:
LTVA1 2024-08-23 07:30:06 +03:00 committed by tildearrow
parent 9f9638931d
commit 3b6ddebc64
3 changed files with 6 additions and 6 deletions

View file

@ -841,7 +841,7 @@ void DivPlatformSNES::reset() {
memcpy(sampleMem,copyOfSampleMem,65536);
dsp.init(sampleMem);
dsp.set_output(NULL,0);
dsp.setupInterpolation(interpolationOn);
dsp.setupInterpolation(!interpolationOff);
memset(regPool,0,128);
// this can't be 0 or channel 1 won't play
@ -1026,7 +1026,7 @@ void DivPlatformSNES::setFlags(const DivConfig& flags) {
initEchoMask=flags.getInt("echoMask",0);
interpolationOn=flags.getBool("interpolationOn",true);
interpolationOff=flags.getBool("interpolationOff",false);
}
int DivPlatformSNES::init(DivEngine* p, int channels, int sugRate, const DivConfig& flags) {

View file

@ -69,7 +69,7 @@ class DivPlatformSNES: public DivDispatch {
bool writeEcho;
bool writeDryVol;
bool echoOn;
bool interpolationOn;
bool interpolationOff;
bool initEchoOn;
signed char initEchoVolL;