X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=frontend%2Fpandora%2Fpcsx.sh;fp=frontend%2Fpandora%2Fpcsx.sh;h=2077a29ad53451903068618dea387042c9decf8c;hb=9e0630ab54cbf6b6e3ec525f1088aa54e163c938;hp=0000000000000000000000000000000000000000;hpb=554a2220f2413cc29d7912ad3f7d91c9e64284cf;p=pcsx_rearmed.git diff --git a/frontend/pandora/pcsx.sh b/frontend/pandora/pcsx.sh new file mode 100755 index 00000000..2077a29a --- /dev/null +++ b/frontend/pandora/pcsx.sh @@ -0,0 +1,16 @@ +#!/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 +sudo -n /usr/pandora/scripts/op_lcdrate.sh 60 + +echo "$nub0mode" > /proc/pandora/nub0/mode +echo "$nub1mode" > /proc/pandora/nub1/mode