Chose dither first

psure this should be set first, doesent need to be touched anyways
This commit is contained in:
alufolie91 committed 2023-08-20 01:00:08 +02:00
1 parent abf2d2d3a3
commit 7b346db6bc
1 file changed
+1 -1
+1 -1
View File
@@ -1256,11 +1256,11 @@ boolean I_PlaySong(boolean looping)
if (openmpt_mhandle)
{
openmpt_module_select_subsong(openmpt_mhandle, 0);
openmpt_module_ctl_set(openmpt_mhandle, "dither", "1");
openmpt_module_ctl_set(openmpt_mhandle, "render.resampler.emulate_amiga", cv_amigafilter.value ? "1" : "0");
#if OPENMPT_API_VERSION_MAJOR < 1 && OPENMPT_API_VERSION_MINOR > 4
openmpt_module_ctl_set_text(openmpt_mhandle, "render.resampler.emulate_amiga_type", cv_amigatype.string);
#endif
openmpt_module_ctl_set(openmpt_mhandle, "dither", "1");
openmpt_module_set_render_param(openmpt_mhandle, OPENMPT_MODULE_RENDER_INTERPOLATIONFILTER_LENGTH, cv_modfilter.value);
if (looping)
openmpt_module_set_repeat_count(openmpt_mhandle, -1); // Always repeat