(Pandora) factored out LD_PRELOAD since we need it for some cores too.
This commit is contained in:
parent
8a123b46f9
commit
b177185b0e
|
@ -16,3 +16,7 @@ export SDL_AUDIODRIVER="alsa"
|
||||||
# integral scaling
|
# integral scaling
|
||||||
export SDL_OMAP_LAYER_SIZE="pixelperfect"
|
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
|
||||||
|
|
||||||
|
|
|
@ -2,7 +2,5 @@
|
||||||
|
|
||||||
source "$(dirname $0)/env-vars.sh"
|
source "$(dirname $0)/env-vars.sh"
|
||||||
|
|
||||||
# load the libstdc++ from gcc-4.7 because phoenix doesn't build in anything less
|
exec retroarch-phoenix "${@}"
|
||||||
# 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 "${@}"
|
|
||||||
|
|
||||||
|
|
|
@ -16,7 +16,7 @@ case "${BACKEND}" in
|
||||||
libretro-fceu*.so | libretro-bnes.so)
|
libretro-fceu*.so | libretro-bnes.so)
|
||||||
FILTER='NES (*.nes)|*.nes'
|
FILTER='NES (*.nes)|*.nes'
|
||||||
;;
|
;;
|
||||||
libretro-pocketsnes.so | libretro-snes9x*.so)
|
libretro-pocketsnes.so | libretro-snes9x*.so | libretro-bsnes*.so)
|
||||||
FILTER='SNES (*.sfc)|*.sfc'
|
FILTER='SNES (*.sfc)|*.sfc'
|
||||||
;;
|
;;
|
||||||
libretro-gambatte.so)
|
libretro-gambatte.so)
|
||||||
|
@ -52,6 +52,5 @@ ROM=$(zenity --file-selection --file-filter="${FILTER}" "${LASTROM}")
|
||||||
|
|
||||||
echo "${ROM}" > "${BACKEND}-lastrom.txt"
|
echo "${ROM}" > "${BACKEND}-lastrom.txt"
|
||||||
|
|
||||||
# latest notaz SDL that knows what "pixelperfect" is
|
exec retroarch "${ROM}" -L "${HOME}/lib/${BACKEND}" "${@}"
|
||||||
exec env LD_PRELOAD=${HOME}/lib/libSDL-1.2.so.0.11.3 retroarch "${ROM}" -L "${HOME}/lib/${BACKEND}" "${@}"
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue