diff --git a/pandora/scripts/env-vars.sh b/pandora/scripts/env-vars.sh index 01d2250d0b..d80a46b155 100755 --- a/pandora/scripts/env-vars.sh +++ b/pandora/scripts/env-vars.sh @@ -16,3 +16,7 @@ export SDL_AUDIODRIVER="alsa" # integral scaling export SDL_OMAP_LAYER_SIZE="pixelperfect" +# load the libstdc++ from gcc-4.7 because phoenix and some cores don't build in anything less +# preload latest notaz SDL that knows what "pixelperfect" is +export LD_PRELOAD=${HOME}/lib/libstdc++.so.6:$HOME/lib/libSDL-1.2.so.0.11.3 + diff --git a/pandora/scripts/retroarch-phoenix.sh b/pandora/scripts/retroarch-phoenix.sh index cb88f6340a..8fb49dc8af 100755 --- a/pandora/scripts/retroarch-phoenix.sh +++ b/pandora/scripts/retroarch-phoenix.sh @@ -2,7 +2,5 @@ source "$(dirname $0)/env-vars.sh" -# load the libstdc++ from gcc-4.7 because phoenix doesn't build in anything less -# preload latest notaz SDL that knows what "pixelperfect" is -exec env LD_PRELOAD=${HOME}/lib/libstdc++.so.6:$HOME/lib/libSDL-1.2.so.0.11.3 retroarch-phoenix "${@}" +exec retroarch-phoenix "${@}" diff --git a/pandora/scripts/retroarch.sh b/pandora/scripts/retroarch.sh index 1f0f9d9413..eee64c095a 100755 --- a/pandora/scripts/retroarch.sh +++ b/pandora/scripts/retroarch.sh @@ -16,7 +16,7 @@ case "${BACKEND}" in libretro-fceu*.so | libretro-bnes.so) FILTER='NES (*.nes)|*.nes' ;; - libretro-pocketsnes.so | libretro-snes9x*.so) + libretro-pocketsnes.so | libretro-snes9x*.so | libretro-bsnes*.so) FILTER='SNES (*.sfc)|*.sfc' ;; libretro-gambatte.so) @@ -52,6 +52,5 @@ ROM=$(zenity --file-selection --file-filter="${FILTER}" "${LASTROM}") echo "${ROM}" > "${BACKEND}-lastrom.txt" -# latest notaz SDL that knows what "pixelperfect" is -exec env LD_PRELOAD=${HOME}/lib/libSDL-1.2.so.0.11.3 retroarch "${ROM}" -L "${HOME}/lib/${BACKEND}" "${@}" +exec retroarch "${ROM}" -L "${HOME}/lib/${BACKEND}" "${@}"