aboutsummaryrefslogtreecommitdiff
path: root/backends/platform/gph/caanoo/scummvm.gpe
diff options
context:
space:
mode:
authorJohn Willis2010-09-09 09:48:32 +0000
committerJohn Willis2010-09-09 09:48:32 +0000
commit9307304d7eb6acbd2351355a30d24cb95a259db7 (patch)
tree6aa25f91dd5d008d8ca956bf637f1768ee42b8fd /backends/platform/gph/caanoo/scummvm.gpe
parent9313e169fd7fc8efde6a8ae63cbb2599f83856b7 (diff)
downloadscummvm-rg350-9307304d7eb6acbd2351355a30d24cb95a259db7.tar.gz
scummvm-rg350-9307304d7eb6acbd2351355a30d24cb95a259db7.tar.bz2
scummvm-rg350-9307304d7eb6acbd2351355a30d24cb95a259db7.zip
GP2XWIZ: Rename GP2XWIZ backend to GPH.
* This better reflects the supported devices from GPH (GamePark Holdings), namely the GP2XWiz, Caanoo and merging in of the old GP2X backend. svn-id: r52648
Diffstat (limited to 'backends/platform/gph/caanoo/scummvm.gpe')
-rwxr-xr-xbackends/platform/gph/caanoo/scummvm.gpe15
1 files changed, 15 insertions, 0 deletions
diff --git a/backends/platform/gph/caanoo/scummvm.gpe b/backends/platform/gph/caanoo/scummvm.gpe
new file mode 100755
index 0000000000..8341ffc3d7
--- /dev/null
+++ b/backends/platform/gph/caanoo/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.caanoo --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