From 2a95dd076a00ea7975d14a0cde7f29eff5bb68f0 Mon Sep 17 00:00:00 2001 From: cmitu <31816814+cmitu@users.noreply.github.com> Date: Tue, 12 Mar 2024 18:07:07 +0000 Subject: [PATCH] lr-mame/lr-mess: modify build parameters Update the build parameters so: - optimization level matches RetroPie's compiler options (-O2) - removed `PYTHON` pre-set since it's set now to `python3` by default - disable PortAudio, not needed since audio is handled by RetroArch --- scriptmodules/libretrocores/lr-mame.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scriptmodules/libretrocores/lr-mame.sh b/scriptmodules/libretrocores/lr-mame.sh index 9acf66f214..4628a06f76 100644 --- a/scriptmodules/libretrocores/lr-mame.sh +++ b/scriptmodules/libretrocores/lr-mame.sh @@ -18,7 +18,7 @@ rp_module_section="exp" rp_module_flags="" function _get_params_lr-mame() { - local params=(OSD=retro RETRO=1 NOWERROR=1 OS=linux TARGETOS=linux CONFIG=libretro NO_USE_MIDI=1 TARGET=mame PYTHON_EXECUTABLE=python3) + local params=(OSD=retro RETRO=1 NOWERROR=1 OS=linux OPTIMIZE=2 TARGETOS=linux CONFIG=libretro NO_USE_MIDI=1 NO_USE_PORTAUDIO=1 TARGET=mame) isPlatform "64bit" && params+=(PTR64=1) echo "${params[@]}" }