diff --git a/src/s_sound.c b/src/s_sound.c index b10ff9f3e..82ddf52b0 100644 --- a/src/s_sound.c +++ b/src/s_sound.c @@ -2453,7 +2453,7 @@ void AmigaFilter_OnChange(void) { if (openmpt_mhandle) #if OPENMPT_API_VERSION_MAJOR < 1 && OPENMPT_API_VERSION_MINOR > 4 - openmpt_module_ctl_set_text(openmpt_mhandle, "render.resampler.emulate_amiga", cv_amigafilter.value ? "1" : "0"); + openmpt_module_ctl_set_boolean(openmpt_mhandle, "render.resampler.emulate_amiga", cv_amigafilter.value); #else openmpt_module_ctl_set(openmpt_mhandle, "render.resampler.emulate_amiga", cv_amigafilter.value ? "1" : "0"); #endif