aboutsummaryrefslogtreecommitdiff
path: root/backends/platform/gp2x/build
diff options
context:
space:
mode:
authorJohn Willis2007-05-20 16:38:18 +0000
committerJohn Willis2007-05-20 16:38:18 +0000
commit094bf2c518057e7f4e1dabad08fcb65606ebacd8 (patch)
tree918e16ce4e4b89a084a29c11153ac066ffd0479c /backends/platform/gp2x/build
parent1eafa813edbe5a1ae5e3e0f7ff9e28d221f578e4 (diff)
downloadscummvm-rg350-094bf2c518057e7f4e1dabad08fcb65606ebacd8.tar.gz
scummvm-rg350-094bf2c518057e7f4e1dabad08fcb65606ebacd8.tar.bz2
scummvm-rg350-094bf2c518057e7f4e1dabad08fcb65606ebacd8.zip
Add missing GP2X start-up script to SVN. MUST have LF line endings (hence the SVN properties).
svn-id: r26892
Diffstat (limited to 'backends/platform/gp2x/build')
-rw-r--r--backends/platform/gp2x/build/scummvm.gpe14
1 files changed, 14 insertions, 0 deletions
diff --git a/backends/platform/gp2x/build/scummvm.gpe b/backends/platform/gp2x/build/scummvm.gpe
new file mode 100644
index 0000000000..1e69c149b9
--- /dev/null
+++ b/backends/platform/gp2x/build/scummvm.gpe
@@ -0,0 +1,14 @@
+#!/bin/bash
+
+# Remount SD with forced Sync, does this really work?
+mount -o sync,remount /dev/mmcsd/disc0/part1 /mnt/sd/
+
+# Run ScummVM, important this bit.
+./scummvm.gp2x
+
+# Sync the SD card to check that everything is written.
+sync
+
+# Return to the GPH menu screen
+cd /usr/gp2x
+exec /usr/gp2x/gp2xmenu