frontend: pandora: update run script
authornotaz <notasas@gmail.com>
Sat, 22 Sep 2012 16:32:10 +0000 (19:32 +0300)
committernotaz <notasas@gmail.com>
Thu, 11 Oct 2012 21:05:08 +0000 (00:05 +0300)
Makefile
frontend/pandora/pcsx.sh

index c10f739..af11087 100644 (file)
--- 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)
index 0957b94..bc1d6c5 100755 (executable)
@@ -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