Skip to content

Commit

Permalink
lr-mame/lr-mess: modify build parameters
Browse files Browse the repository at this point in the history
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
  • Loading branch information
cmitu committed Mar 12, 2024
1 parent 636a178 commit 2a95dd0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scriptmodules/libretrocores/lr-mame.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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[@]}"
}
Expand Down

0 comments on commit 2a95dd0

Please sign in to comment.