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