Skip to content

Commit

Permalink
Add wiiu rules
Browse files Browse the repository at this point in the history
  • Loading branch information
inactive123 committed Nov 6, 2016
1 parent 93c311d commit 9a2b324
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 1 deletion.
17 changes: 17 additions & 0 deletions libretro-build-wiiu.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
#! /usr/bin/env bash
# vim: set ts=3 sw=3 noet ft=sh : bash

SCRIPT="${0#./}"
BASE_DIR="${SCRIPT%/*}"
WORKDIR="$PWD"

if [ "$BASE_DIR" = "$SCRIPT" ]; then
BASE_DIR="$WORKDIR"
else
if [[ "$0" != /* ]]; then
# Make the path absolute
BASE_DIR="$WORKDIR/$BASE_DIR"
fi
fi

platform=wiiu ${BASE_DIR}/libretro-build.sh $@
4 changes: 3 additions & 1 deletion libretro-build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -155,9 +155,11 @@ build_default_cores() {
fi
libretro_build_core 2048
libretro_build_core bluemsx

if [ $platform != "psp1" ] && [ $platform != "ngc" ] && [ $platform != "wii" ] && [ $platform != "ps3" ] && [ $platform != "sncps3" ] && [ $platform != "vita" ]; then
libretro_build_core dosbox
fi

libretro_build_core snes9x2005
if [ $platform != "psp1" ]; then
# Excluded for binary size reasons
Expand Down Expand Up @@ -208,7 +210,7 @@ build_default_cores() {
libretro_build_core lutro
fi

if [ $platform != "ps3" ] && [ $platform != "sncps3" ] && [ $platform != "wii" ] && [ $platform != "ngc" ] && [ $platform != "vita" ]; then
if [ $platform != "ps3" ] && [ $platform != "sncps3" ] && [ $platform != "wii" ] && [ $platform != "wiiu" ] && [ $platform != "ngc" ] && [ $platform != "vita" ]; then
build_default_cores_little_endian_only

build_default_cores_libretro_gl
Expand Down

0 comments on commit 9a2b324

Please sign in to comment.