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

# stupid nub mode thing
nub0mode=`cat /proc/pandora/nub0/mode`
nub1mode=`cat /proc/pandora/nub1/mode`
/usr/pandora/scripts/op_nubchange.sh absolute absolute

./pcsx "$@"

# restore stuff if pcsx crashes
./picorestore
sudo -n /usr/pandora/scripts/op_lcdrate.sh 60

/usr/pandora/scripts/op_nubchange.sh $nub0mode $nub1mode