From: notaz Date: Sat, 22 Sep 2012 16:32:10 +0000 (+0300) Subject: frontend: pandora: update run script X-Git-Tag: r16~15^2~12 X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cd5abe38be33f4ac20627cbeac5246b9bee22715;p=pcsx_rearmed.git frontend: pandora: update run script --- diff --git a/Makefile b/Makefile index c10f7393..af110879 100644 --- a/Makefile +++ b/Makefile @@ -215,7 +215,7 @@ endif # ----------- release ----------- -VER ?= $(shell git describe master) +VER ?= $(shell git describe HEAD) ifeq "$(PLATFORM)" "generic" OUT = pcsx_rearmed_$(VER) diff --git a/frontend/pandora/pcsx.sh b/frontend/pandora/pcsx.sh index 0957b945..bc1d6c53 100755 --- a/frontend/pandora/pcsx.sh +++ b/frontend/pandora/pcsx.sh @@ -5,10 +5,15 @@ 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) +# 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_hugetlb.sh 0 /usr/pandora/scripts/op_nubchange.sh $nub0mode $nub1mode