aboutsummaryrefslogtreecommitdiff
path: root/backends/platform/gph/caanoo/scummvm-gdb.gpe
blob: 2d776f1bc3a2e15fb4f1c7297decb97517f37ecd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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.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