gIsConsole check was backwards
This commit is contained in:
1 parent
06a4190481
commit
832a395bdc
2 files changed
+3
-6
No files matched your search
+2
-2
@@ -1233,9 +1233,9 @@ void audio_reset_session(void) {
|
||||
gReverbDownsampleRate = preset->reverbDownsampleRate;
|
||||
#ifdef BETTER_REVERB
|
||||
if (gIsConsole)
|
||||
reverbConsole = 2; // Setting this to 1 will crash unless you increase the better reverb buffer (in which case it will just freeze instead)
|
||||
else
|
||||
reverbConsole = betterReverbConsoleDownsample; // Console!
|
||||
else
|
||||
reverbConsole = 2; // Setting this to 1 will crash unless you increase the better reverb buffer (in which case it will just freeze instead)
|
||||
|
||||
if (reverbConsole <= 0) {
|
||||
reverbConsole = 1;
|
||||
|
||||
@@ -142,13 +142,10 @@ inline s16 reverb_sample_left(s32 inSample) {
|
||||
}
|
||||
else {
|
||||
if (i == 0)
|
||||
tmpCarryover += ((tmpBuf[NUM_ALLPASS-1] * gReverbRevIndex) / 256);
|
||||
tmpCarryover += ((tmpBuf[NUM_ALLPASS-1] * gReverbRevIndex) / 256) + inSample;
|
||||
|
||||
delayBufs[0][i][allpassIdx[0][i]] = (tmpBuf[i] * (-gReverbGainIndex) / 256) + tmpCarryover;
|
||||
|
||||
if (/*modCheck == 0*/ i == 0)
|
||||
delayBufs[0][i][allpassIdx[0][i]] += inSample;
|
||||
|
||||
tmpCarryover = (delayBufs[0][i][allpassIdx[0][i]] * gReverbGainIndex) / 256;
|
||||
tmpCarryover += tmpBuf[i];
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user