aboutsummaryrefslogtreecommitdiff
path: root/backends/platform/gph/devices/gp2xwiz/scummvm.gpe
diff options
context:
space:
mode:
authorDavid-John Willis2011-04-12 12:11:37 +0100
committerDavid-John Willis2011-04-13 08:01:16 +0100
commita18bb2e73d2580722fe418db7c307f9bc307e091 (patch)
treecc89a7fe03da91779bdc934ef439437d3a108c4d /backends/platform/gph/devices/gp2xwiz/scummvm.gpe
parentda688dbb7f20d08371a160d9fcc29776418d502d (diff)
downloadscummvm-rg350-a18bb2e73d2580722fe418db7c307f9bc307e091.tar.gz
scummvm-rg350-a18bb2e73d2580722fe418db7c307f9bc307e091.tar.bz2
scummvm-rg350-a18bb2e73d2580722fe418db7c307f9bc307e091.zip
GPH: Move GP2XWIZ build support files into devices folder.
* Also add a common folder with the shared bits.
Diffstat (limited to 'backends/platform/gph/devices/gp2xwiz/scummvm.gpe')
-rw-r--r--backends/platform/gph/devices/gp2xwiz/scummvm.gpe15
1 files changed, 15 insertions, 0 deletions
diff --git a/backends/platform/gph/devices/gp2xwiz/scummvm.gpe b/backends/platform/gph/devices/gp2xwiz/scummvm.gpe
new file mode 100644
index 0000000000..59ff562aeb
--- /dev/null
+++ b/backends/platform/gph/devices/gp2xwiz/scummvm.gpe
@@ -0,0 +1,15 @@
+#!/bin/sh
+
+# Export the location of any libs ScummVM depends on
+# (to avoid installing to the NAND and overwriting the broken ones there).
+export LD_LIBRARY_PATH=`pwd`/lib:$LD_LIBRARY_PATH
+
+# Run ScummVM, important this bit.
+./scummvm.gph --fullscreen --gfx-mode=1x --config=$(pwd)/.scummvmrc
+
+# Sync the SD card to check that everything is written.
+sync
+
+# Return to the GPH menu screen
+cd /usr/gp2x
+exec /usr/gp2x/gp2xmenu