diff options
author | David-John Willis | 2011-04-12 12:08:46 +0100 |
---|---|---|
committer | David-John Willis | 2011-04-13 08:01:15 +0100 |
commit | da688dbb7f20d08371a160d9fcc29776418d502d (patch) | |
tree | 46b317015de26186d190b49a2ea59d69eef04534 /backends/platform/gph/devices/caanoo | |
parent | cb3e3e7125274dba4437f0beb35b461405eb3442 (diff) | |
download | scummvm-rg350-da688dbb7f20d08371a160d9fcc29776418d502d.tar.gz scummvm-rg350-da688dbb7f20d08371a160d9fcc29776418d502d.tar.bz2 scummvm-rg350-da688dbb7f20d08371a160d9fcc29776418d502d.zip |
GPH: Move caanoo build support files into device folder in the backend.
Diffstat (limited to 'backends/platform/gph/devices/caanoo')
-rw-r--r-- | backends/platform/gph/devices/caanoo/scummvm-gdb.gpe | 16 | ||||
-rw-r--r-- | backends/platform/gph/devices/caanoo/scummvm.gpe | 15 |
2 files changed, 31 insertions, 0 deletions
diff --git a/backends/platform/gph/devices/caanoo/scummvm-gdb.gpe b/backends/platform/gph/devices/caanoo/scummvm-gdb.gpe new file mode 100644 index 0000000000..63ce193ca8 --- /dev/null +++ b/backends/platform/gph/devices/caanoo/scummvm-gdb.gpe @@ -0,0 +1,16 @@ +#!/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 via GDB (so make sure you have a terminal open or serial). +# Oh, and GDB installed of course ;) +gdb --args ./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 diff --git a/backends/platform/gph/devices/caanoo/scummvm.gpe b/backends/platform/gph/devices/caanoo/scummvm.gpe new file mode 100644 index 0000000000..37d0f65d18 --- /dev/null +++ b/backends/platform/gph/devices/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.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 |