aboutsummaryrefslogtreecommitdiff
path: root/pandora/pcsx.sh
diff options
context:
space:
mode:
authornotaz2011-02-06 01:27:48 +0200
committernotaz2011-02-10 02:06:49 +0200
commit799b0b8773d6add1de99efd582c93701b82e970d (patch)
tree0528027f543febe28702d3256f84c96b0fa37454 /pandora/pcsx.sh
parentc89cd762a63a78e30a59955e705e29ff3d5ae3b8 (diff)
downloadpcsx_rearmed-799b0b8773d6add1de99efd582c93701b82e970d.tar.gz
pcsx_rearmed-799b0b8773d6add1de99efd582c93701b82e970d.tar.bz2
pcsx_rearmed-799b0b8773d6add1de99efd582c93701b82e970d.zip
frontend: support analog controller using nubs; some refactoring
also enable frameskip by default, it makes the experience a bit better on most games.
Diffstat (limited to 'pandora/pcsx.sh')
-rwxr-xr-xpandora/pcsx.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/pandora/pcsx.sh b/pandora/pcsx.sh
index a401714..2062e78 100755
--- a/pandora/pcsx.sh
+++ b/pandora/pcsx.sh
@@ -1,6 +1,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