RetroArch/pandora/scripts/env-vars.sh
2012-09-17 20:29:23 -04:00

19 lines
496 B
Bash
Executable File

#!/bin/sh
export HOME="$(readlink -f $(dirname $0)/..)"
export XDG_CONFIG_HOME="${HOME}"
export PATH="${HOME}/bin:${PATH:-"/usr/bin:/bin:/usr/local/bin"}"
export LD_LIBRARY_PATH="${HOME}/lib:${LD_LIBRARY_PATH:-"/usr/lib:/lib"}"
if [ -d /mnt/utmp/retroarch/share ] ; then
export XDG_DATA_DIRS=${HOME}/share:$XDG_DATA_DIRS:/usr/share
fi
# use notaz's optimized driver
export SDL_VIDEODRIVER="omapdss"
export SDL_AUDIODRIVER="alsa"
# integral scaling
export SDL_OMAP_LAYER_SIZE="pixelperfect"