aboutsummaryrefslogtreecommitdiff
path: root/pandora/pcsx.sh
blob: 2062e782ec05f944b686ca12a5990d703efeea25 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/bin/sh

# stupid nub mode thing
nub0mode=`cat /proc/pandora/nub0/mode`
nub1mode=`cat /proc/pandora/nub1/mode`
echo absolute > /proc/pandora/nub0/mode
echo absolute > /proc/pandora/nub1/mode

./pcsx "$@"

# restore stuff if pcsx crashes
./picorestore

echo "$nub0mode" > /proc/pandora/nub0/mode
echo "$nub1mode" > /proc/pandora/nub1/mode