notaz.gp2x.de
/
ginge.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix controls regression on _dyn
[ginge.git]
/
dist
/
ginge.gpe
diff --git
a/dist/ginge.gpe
b/dist/ginge.gpe
index
27521e5
..
a9264fe
100755
(executable)
--- a/
dist/ginge.gpe
+++ b/
dist/ginge.gpe
@@
-1,14
+1,29
@@
#!/bin/sh
#!/bin/sh
+unset LD_PRELOAD
+
/sbin/rmmod warm 2> /dev/null
/sbin/rmmod warm 2> /dev/null
-/sbin/insmod ./warm_2.6.24.ko
+/sbin/insmod ./tools/warm_2.6.24.ko
+
+# we might write something to /tmp, no need to write to flash
+# FIXME: doesn't seem to work, tmpfs broken in Wiz kernel?
+#if ! grep -q '/tmp' /proc/mounts; then
+# mount -t tmpfs none /tmp
+#fi
# theoretically GP2X apps can make use of more RAM, because
# Wiz has 2.6 kernel (larger memory requirements) and larger
# reserved areas, so we mount some swap here just in case.
# theoretically GP2X apps can make use of more RAM, because
# Wiz has 2.6 kernel (larger memory requirements) and larger
# reserved areas, so we mount some swap here just in case.
-mkswap swapfile
-swapon swapfile
-./gp2xmenu
+# FIXME: doesn't work too, causes more problems than resolves
+#mkswap swapfile
+#swapon swapfile
+
+./gp2xmenu --view-game
+
+#swapoff swapfile
+#umount /tmp
+/sbin/rmmod warm 2> /dev/null
-swapoff swapfile
+cd /usr/gp2x/
+exec ./gp2xmenu