psxcounters: change spu update ~2ms
[pcsx_rearmed.git] / frontend / pandora / pcsx.sh
1 #!/bin/sh
2
3 # stupid nub mode thing
4 nub0mode=`cat /proc/pandora/nub0/mode`
5 nub1mode=`cat /proc/pandora/nub1/mode`
6 echo absolute > /proc/pandora/nub0/mode
7 echo absolute > /proc/pandora/nub1/mode
8
9 ./pcsx "$@"
10
11 # restore stuff if pcsx crashes
12 ./picorestore
13 sudo -n /usr/pandora/scripts/op_lcdrate.sh 60
14
15 echo "$nub0mode" > /proc/pandora/nub0/mode
16 echo "$nub1mode" > /proc/pandora/nub1/mode