2012-07-05 03:16:42 -04:00
|
|
|
#!/bin/sh
|
|
|
|
|
2012-09-17 20:29:23 -04:00
|
|
|
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"}"
|
2012-07-05 03:16:42 -04:00
|
|
|
|
|
|
|
if [ -d /mnt/utmp/retroarch/share ] ; then
|
2012-09-17 20:29:23 -04:00
|
|
|
export XDG_DATA_DIRS=${HOME}/share:$XDG_DATA_DIRS:/usr/share
|
2012-07-05 03:16:42 -04:00
|
|
|
fi
|
|
|
|
|
|
|
|
# use notaz's optimized driver
|
|
|
|
export SDL_VIDEODRIVER="omapdss"
|
|
|
|
export SDL_AUDIODRIVER="alsa"
|
|
|
|
|
|
|
|
# integral scaling
|
|
|
|
export SDL_OMAP_LAYER_SIZE="pixelperfect"
|
|
|
|
|