diff options
author | David-John Willis | 2011-04-12 12:05:56 +0100 |
---|---|---|
committer | David-John Willis | 2011-04-13 08:01:15 +0100 |
commit | cb3e3e7125274dba4437f0beb35b461405eb3442 (patch) | |
tree | bf414509142fe8e02593f77c8e5188974ee964cc /backends/platform/gph/devices/gp2x/scummvm.gpe | |
parent | 65fc72e30a885f6adca99505ee869e010f94c1c3 (diff) | |
download | scummvm-rg350-cb3e3e7125274dba4437f0beb35b461405eb3442.tar.gz scummvm-rg350-cb3e3e7125274dba4437f0beb35b461405eb3442.tar.bz2 scummvm-rg350-cb3e3e7125274dba4437f0beb35b461405eb3442.zip |
GP2X: Move build support files into the GPH backend.
Diffstat (limited to 'backends/platform/gph/devices/gp2x/scummvm.gpe')
-rw-r--r-- | backends/platform/gph/devices/gp2x/scummvm.gpe | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/backends/platform/gph/devices/gp2x/scummvm.gpe b/backends/platform/gph/devices/gp2x/scummvm.gpe new file mode 100644 index 0000000000..e8983aa2ce --- /dev/null +++ b/backends/platform/gph/devices/gp2x/scummvm.gpe @@ -0,0 +1,18 @@ +#!/bin/bash + +# Remount SD with forced Sync, does this really work? +mount -o sync,remount /dev/mmcsd/disc0/part1 /mnt/sd/ + +# 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 + +# Sync the SD card to check that everything is written. +sync + +# Return to the GPH menu screen +cd /usr/gp2x +exec /usr/gp2x/gp2xmenu |