From 8b9b452fbd79c19fb63cc5a93990b89738fdd51d Mon Sep 17 00:00:00 2001 From: tildearrow Date: Sun, 2 Oct 2022 02:03:18 -0500 Subject: [PATCH] SoundUnit: fix echo resolution being ignored --- src/engine/platform/su.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/engine/platform/su.cpp b/src/engine/platform/su.cpp index 66b91ef5b..c00847fc7 100644 --- a/src/engine/platform/su.cpp +++ b/src/engine/platform/su.cpp @@ -518,7 +518,7 @@ void DivPlatformSoundUnit::setFlags(const DivConfig& flags) { bool echoOn=flags.getBool("echo",false); initIlCtrl=3|(echoOn?4:0); initIlSize=((flags.getInt("echoDelay",0))&63)|(echoOn?0x40:0)|(flags.getBool("swapEcho",false)?0x80:0); - initFil1=flags.getInt("echoFeedback",0); + initFil1=flags.getInt("echoFeedback",0)|(flags.getInt("echoResolution",0)<<4); initEchoVol=flags.getInt("echoVol",0); sampleMemSize=flags.getInt("sampleMemSize",0);