15 lines
428 B
Bash
Executable file
15 lines
428 B
Bash
Executable file
#!/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
|