Commit | Line | Data |
---|---|---|
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 | ||
14 | echo "$nub0mode" > /proc/pandora/nub0/mode | |
15 | echo "$nub1mode" > /proc/pandora/nub1/mode |