From cd5abe38be33f4ac20627cbeac5246b9bee22715 Mon Sep 17 00:00:00 2001 From: notaz Date: Sat, 22 Sep 2012 19:32:10 +0300 Subject: [PATCH] frontend: pandora: update run script --- Makefile | 2 +- frontend/pandora/pcsx.sh | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) 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 -- 2.39.5