aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornotaz2012-09-22 19:32:10 +0300
committernotaz2012-10-12 00:05:08 +0300
commitcd5abe38be33f4ac20627cbeac5246b9bee22715 (patch)
tree86ef2a103709baa57cd4bc5fdb06d281c976920a
parent06bc35c833797ce9f6f3287abf954f037bb12319 (diff)
downloadpcsx_rearmed-cd5abe38be33f4ac20627cbeac5246b9bee22715.tar.gz
pcsx_rearmed-cd5abe38be33f4ac20627cbeac5246b9bee22715.tar.bz2
pcsx_rearmed-cd5abe38be33f4ac20627cbeac5246b9bee22715.zip
frontend: pandora: update run script
-rw-r--r--Makefile2
-rwxr-xr-xfrontend/pandora/pcsx.sh5
2 files changed, 6 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index c10f739..af11087 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 0957b94..bc1d6c5 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