From 4b340eb86df5fc74001d2d88c2de5dedf62b195a Mon Sep 17 00:00:00 2001 From: "B. Watson" Date: Sun, 16 Jul 2023 00:15:46 -0400 Subject: games/doomretro: Updated for version 4.9.2, fix music. Signed-off-by: B. Watson Signed-off-by: Willy Sudiarto Raharjo --- games/doomretro/fix-sdl-mixer-fluidsynth.diff | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 games/doomretro/fix-sdl-mixer-fluidsynth.diff (limited to 'games/doomretro/fix-sdl-mixer-fluidsynth.diff') diff --git a/games/doomretro/fix-sdl-mixer-fluidsynth.diff b/games/doomretro/fix-sdl-mixer-fluidsynth.diff new file mode 100644 index 000000000000..be12c1d8f460 --- /dev/null +++ b/games/doomretro/fix-sdl-mixer-fluidsynth.diff @@ -0,0 +1,14 @@ +--- music_fluidsynth.c.orig 2018-10-31 15:59:00.000000000 +0100 ++++ music_fluidsynth.c 2021-01-20 18:29:11.610459000 +0100 +@@ -273,9 +273,10 @@ + static void FLUIDSYNTH_Delete(void *context) + { + FLUIDSYNTH_Music *music = (FLUIDSYNTH_Music *)context; ++ fluid_settings_t *settings = fluidsynth.fluid_synth_get_settings(music->synth); + fluidsynth.delete_fluid_player(music->player); +- fluidsynth.delete_fluid_settings(fluidsynth.fluid_synth_get_settings(music->synth)); + fluidsynth.delete_fluid_synth(music->synth); ++ fluidsynth.delete_fluid_settings(settings); + SDL_free(music); + } + -- cgit v1.2.3