X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?p=pcsx_rearmed.git;a=blobdiff_plain;f=frontend%2Fpandora%2Fpcsx.sh;h=a69ca31af573f85e34267e4eba806b63988259dc;hp=0957b94532c914d7dc6cc5f94092682d7b6d9bb6;hb=1ac804af759a1439428d57c41c05bdda0c59bc21;hpb=4ea086f6049c3f2c286f1a4e1e23b5763629067a diff --git a/frontend/pandora/pcsx.sh b/frontend/pandora/pcsx.sh index 0957b945..a69ca31a 100755 --- a/frontend/pandora/pcsx.sh +++ b/frontend/pandora/pcsx.sh @@ -5,10 +5,17 @@ nub0mode=`cat /proc/pandora/nub0/mode` nub1mode=`cat /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) + 8MB LUTs +# no big deal if this fails, only performance loss +sudo -n /usr/pandora/scripts/op_hugetlb.sh 24 + ./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 /usr/pandora/scripts/op_nubchange.sh $nub0mode $nub1mode