X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?p=pcsx_rearmed.git;a=blobdiff_plain;f=frontend%2Fpandora%2Fpcsx.sh;h=4258ac1baa0f5a42556a08382569ec05c9de675f;hp=2077a29ad53451903068618dea387042c9decf8c;hb=e7b8bfadd42d9963d35057075408f34f6282e42c;hpb=9e0630ab54cbf6b6e3ec525f1088aa54e163c938 diff --git a/frontend/pandora/pcsx.sh b/frontend/pandora/pcsx.sh index 2077a29a..4258ac1b 100755 --- a/frontend/pandora/pcsx.sh +++ b/frontend/pandora/pcsx.sh @@ -3,14 +3,18 @@ # 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 +/usr/pandora/scripts/op_nubchange.sh absolute absolute + +# 4MB for RAM (2+align) + 2MB for vram (1+overdraw) + 10MB for gpu_neon (8+overdraw) +# no big deal if this fails, only performance loss +sudo -n /usr/pandora/scripts/op_hugetlb.sh 16 ./pcsx "$@" # restore stuff if pcsx crashes ./picorestore sudo -n /usr/pandora/scripts/op_lcdrate.sh 60 +sudo -n /usr/pandora/scripts/op_gamma.sh 0 +sudo -n /usr/pandora/scripts/op_hugetlb.sh 0 -echo "$nub0mode" > /proc/pandora/nub0/mode -echo "$nub1mode" > /proc/pandora/nub1/mode +/usr/pandora/scripts/op_nubchange.sh $nub0mode $nub1mode