aboutsummaryrefslogtreecommitdiff
path: root/frontend/pandora
diff options
context:
space:
mode:
Diffstat (limited to 'frontend/pandora')
-rwxr-xr-xfrontend/pandora/pcsx.sh6
-rw-r--r--frontend/pandora/ui_feat.h16
2 files changed, 22 insertions, 0 deletions
diff --git a/frontend/pandora/pcsx.sh b/frontend/pandora/pcsx.sh
index 0957b94..4258ac1 100755
--- a/frontend/pandora/pcsx.sh
+++ b/frontend/pandora/pcsx.sh
@@ -5,10 +5,16 @@ 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_gamma.sh 0
+sudo -n /usr/pandora/scripts/op_hugetlb.sh 0
/usr/pandora/scripts/op_nubchange.sh $nub0mode $nub1mode
diff --git a/frontend/pandora/ui_feat.h b/frontend/pandora/ui_feat.h
new file mode 100644
index 0000000..7564e17
--- /dev/null
+++ b/frontend/pandora/ui_feat.h
@@ -0,0 +1,16 @@
+#ifndef UI_FEATURES_H
+#define UI_FEATURES_H
+
+#define MENU_BIOS_PATH "<SD card>/pandora/appdata/pcsx_rearmed/bios/"
+#define BOOT_MSG "Booting up... (press SPACE for menu)"
+#define MENU_SHOW_VARSCALER 1
+#define MENU_SHOW_VIDOVERLAY 0
+#define MENU_SHOW_SCALER2 0
+#define MENU_SHOW_NUBS_BTNS 1
+#define MENU_SHOW_VIBRATION 0
+#define MENU_SHOW_DEADZONE 0
+#define MENU_SHOW_MINIMIZE 1
+#define MENU_SHOW_FULLSCREEN 0
+#define MENU_SHOW_VOLUME 0
+
+#endif // UI_FEATURES_H