mirror of
https://github.com/tildearrow/furnace.git
synced 2024-11-16 01:35:07 +00:00
SoundUnit: fix echo resolution being ignored
This commit is contained in:
parent
a14bd4c8d4
commit
8b9b452fbd
1 changed files with 1 additions and 1 deletions
|
@ -518,7 +518,7 @@ void DivPlatformSoundUnit::setFlags(const DivConfig& flags) {
|
||||||
bool echoOn=flags.getBool("echo",false);
|
bool echoOn=flags.getBool("echo",false);
|
||||||
initIlCtrl=3|(echoOn?4:0);
|
initIlCtrl=3|(echoOn?4:0);
|
||||||
initIlSize=((flags.getInt("echoDelay",0))&63)|(echoOn?0x40:0)|(flags.getBool("swapEcho",false)?0x80: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);
|
initEchoVol=flags.getInt("echoVol",0);
|
||||||
|
|
||||||
sampleMemSize=flags.getInt("sampleMemSize",0);
|
sampleMemSize=flags.getInt("sampleMemSize",0);
|
||||||
|
|
Loading…
Reference in a new issue