#!/bin/sh
# epsxe - ePSXe launcher
#
# (c) 2002-2003 Jean-Yves Lefort.
# All rights reserved.

USERDIR=$HOME/.epsxe

if [ ! -x $USERDIR/epsxe ]; then
    echo "$USERDIR/epsxe not found or not executable."
    echo "You should run epsxe-install."
    exit 1
fi

cd $USERDIR && exec ./epsxe "$@"
