(Pandora) factored out LD_PRELOAD since we need it for some cores too.

This commit is contained in:
Darren 2012-09-18 04:42:21 -04:00
parent 8a123b46f9
commit b177185b0e
3 changed files with 7 additions and 6 deletions

View File

@ -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

View File

@ -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 "${@}"

View File

@ -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}" "${@}"