2015-02-17 03:19:30 +00:00
|
|
|
#! /usr/bin/env bash
|
|
|
|
# vim: set ts=3 sw=3 noet ft=sh : bash
|
2013-02-09 20:31:28 +00:00
|
|
|
|
2015-07-11 02:21:29 +00:00
|
|
|
SCRIPT="${0#./}"
|
|
|
|
BASE_DIR="${SCRIPT%/*}"
|
2015-02-21 19:38:52 +00:00
|
|
|
WORKDIR="$PWD"
|
2013-02-09 20:31:28 +00:00
|
|
|
|
2015-07-11 02:21:29 +00:00
|
|
|
if [ "$BASE_DIR" = "$SCRIPT" ]; then
|
|
|
|
BASE_DIR="$WORKDIR"
|
2013-05-03 15:22:09 +00:00
|
|
|
else
|
2015-07-11 02:21:29 +00:00
|
|
|
if [[ "$0" != /* ]]; then
|
|
|
|
# Make the path absolute
|
|
|
|
BASE_DIR="$WORKDIR/$BASE_DIR"
|
|
|
|
fi
|
2013-05-03 15:22:09 +00:00
|
|
|
fi
|
2015-07-11 02:21:29 +00:00
|
|
|
|
2015-07-11 05:02:58 +00:00
|
|
|
if [[ -z "$1" ]]; then
|
|
|
|
WANT_CORES=" \
|
2017-08-25 10:46:27 +00:00
|
|
|
81 \
|
2016-08-05 17:14:09 +00:00
|
|
|
fbalpha2012 \
|
2015-07-11 05:02:58 +00:00
|
|
|
fceumm \
|
2017-08-25 10:46:27 +00:00
|
|
|
fuse \
|
2015-07-11 05:02:58 +00:00
|
|
|
genesis_plus_gx \
|
|
|
|
handy \
|
2016-08-08 01:41:29 +00:00
|
|
|
mame2000 \
|
2015-11-03 15:06:30 +00:00
|
|
|
mame2003 \
|
2015-07-11 05:02:58 +00:00
|
|
|
mednafen_gba \
|
|
|
|
mednafen_lynx \
|
|
|
|
mednafen_ngp \
|
|
|
|
mednafen_pce_fast \
|
|
|
|
mednafen_pcfx \
|
|
|
|
mednafen_psx \
|
|
|
|
mednafen_supergrafx \
|
|
|
|
mednafen_vb \
|
|
|
|
nestopia \
|
|
|
|
nxengine \
|
|
|
|
quicknes \
|
2015-08-03 02:32:32 +00:00
|
|
|
prosystem \
|
2016-02-06 21:52:55 +00:00
|
|
|
prboom \
|
2015-07-11 05:02:58 +00:00
|
|
|
stella \
|
2015-07-20 11:45:55 +00:00
|
|
|
tyrquake \
|
2016-10-22 09:55:10 +00:00
|
|
|
vba_next \
|
2015-07-21 14:58:33 +00:00
|
|
|
gw \
|
|
|
|
mgba"
|
2015-07-11 05:02:58 +00:00
|
|
|
else
|
|
|
|
WANT_CORES="$@"
|
|
|
|
fi
|
|
|
|
|
2015-07-11 05:08:17 +00:00
|
|
|
platform=ps3 ${BASE_DIR}/libretro-build.sh ${WANT_CORES}
|