From 54e3b4311993c2f8a49a37939a751185126c5942 Mon Sep 17 00:00:00 2001 From: Eidolon Date: Thu, 11 Jan 2024 22:53:44 -0600 Subject: [PATCH] Use MAME YM2612 emulator The Nuked emulator (default in libgme) is far too intensive to be used in a game's audio mixer, and in particular it performs very poorly on Steam Deck. We use the MAME emulator for Windows builds because of this, but this flatpak currently uses Nuked. --- org.srb2.SRB2Kart.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/org.srb2.SRB2Kart.yaml b/org.srb2.SRB2Kart.yaml index 89820e0..ebcb247 100644 --- a/org.srb2.SRB2Kart.yaml +++ b/org.srb2.SRB2Kart.yaml @@ -34,6 +34,9 @@ modules: - /include - /lib/*.so - /lib/pkgconfig + config-opts: + - -DGME_YM2612_EMU=MAME + - -DENABLE_UBSAN=OFF sources: - type: archive url: https://bitbucket.org/mpyne/game-music-emu/downloads/game-music-emu-0.6.3.tar.xz