From 56d359f09139601d5e926ca8081163f57124a7ac Mon Sep 17 00:00:00 2001
From: Marko Lindqvist <cazfi74@gmail.com>
Date: Thu, 8 Oct 2026 01:16:40 +0300
Subject: [PATCH 84/84] installer_cross: Switch to sdl3 audio

See RM #2337

Signed-off-by: Marko Lindqvist <cazfi74@gmail.com>
---
 .../windows/installer_cross/meson-installer_build.sh   | 10 +++++-----
 platforms/windows/installer_cross/meson-winbuild.sh    |  2 +-
 2 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/platforms/windows/installer_cross/meson-installer_build.sh b/platforms/windows/installer_cross/meson-installer_build.sh
index 3ce3638ef6..599dd10309 100755
--- a/platforms/windows/installer_cross/meson-installer_build.sh
+++ b/platforms/windows/installer_cross/meson-installer_build.sh
@@ -266,14 +266,14 @@ else
     exit 1
   fi
 
-  if test "${GUI}" = "sdl3" ; then
-    if ! add_sdl3_mixer_env "${DLLSPATH}" "${INSTDIR}" ; then
-      echo "Copying SDL3_mixer environment failed!" >&2
+  if test "${GUI}" = "sdl2" ; then
+    if ! add_sdl2_mixer_env "${DLLSPATH}" "${INSTDIR}" ; then
+      echo "Copying SDL2_mixer environment failed!" >&2
       exit 1
     fi
   else
-    if ! add_sdl2_mixer_env "${DLLSPATH}" "${INSTDIR}" ; then
-      echo "Copying SDL2_mixer environment failed!" >&2
+    if ! add_sdl3_mixer_env "${DLLSPATH}" "${INSTDIR}" ; then
+      echo "Copying SDL3_mixer environment failed!" >&2
       exit 1
     fi
   fi
diff --git a/platforms/windows/installer_cross/meson-winbuild.sh b/platforms/windows/installer_cross/meson-winbuild.sh
index 7998257ab2..35c5fc7fdc 100755
--- a/platforms/windows/installer_cross/meson-winbuild.sh
+++ b/platforms/windows/installer_cross/meson-winbuild.sh
@@ -86,7 +86,7 @@ fi
 
 QTPARAMS=""
 
-AUDIO="sdl2"
+AUDIO="sdl3"
 TOOLS="manual,ruleup"
 case "${GUI}" in
   gtk3.22) FCMP="gtk3" ;;
-- 
2.53.0

