summaryrefslogtreecommitdiff
path: root/powermanga/powermanga-0.79/pda-tweaks.patch
diff options
context:
space:
mode:
Diffstat (limited to 'powermanga/powermanga-0.79/pda-tweaks.patch')
-rw-r--r--powermanga/powermanga-0.79/pda-tweaks.patch39
1 files changed, 39 insertions, 0 deletions
diff --git a/powermanga/powermanga-0.79/pda-tweaks.patch b/powermanga/powermanga-0.79/pda-tweaks.patch
index e69de29bb2..202980e909 100644
--- a/powermanga/powermanga-0.79/pda-tweaks.patch
+++ b/powermanga/powermanga-0.79/pda-tweaks.patch
@@ -0,0 +1,39 @@
+
+#
+# Patch managed by http://www.holgerschurig.de/patcher.html
+#
+
+--- powermanga-0.79/src/linuxroutines.cpp~pda-tweaks
++++ powermanga-0.79/src/linuxroutines.cpp
+@@ -440,6 +440,7 @@
+ //------------------------------------------------------------------------------
+ static const char *data_directories[]=
+ { ".", // Normally unused, except when running from the source directory...
++ "/opt/QtPalmtop/share/games/powermanga/",
+ 0 // Special value meaning "$(PREFIX)/share/games/powermanga/"
+ // Also marks end of list
+ };
+--- powermanga-0.79/src/main.cpp~pda-tweaks
++++ powermanga-0.79/src/main.cpp
+@@ -211,8 +211,8 @@
+ { iVerbeux = 1;
+ }
+ else
+- { if(strcmp(_pArguments[_iIndex], "--320") == 0)
+- { vmode = 0;
++ { if(strcmp(_pArguments[_iIndex], "--640") == 0)
++ { vmode = 1;
+ }
+ else
+ { if(strcmp(_pArguments[_iIndex], "--window") == 0)
+--- powermanga-0.79/src/sdl_tlk.cpp~pda-tweaks
++++ powermanga-0.79/src/sdl_tlk.cpp
+@@ -46,7 +46,7 @@
+ unsigned int iLargeurEcran = 0; //largeur de notre fenetre
+ unsigned int iHauteurEcran = 0; //hauteur de notre fenetre
+ unsigned int iLargeurEcranTotal = 0; //taille d'une ligne du buffer 'ecran_ram'
+-int vmode = 1; //0=resolution de 320x200 / 1=640*400 / 2=640*400 (double pixels)
++int vmode = 0; //0=resolution de 320x200 / 1=640*400 / 2=640*400 (double pixels)
+
+ //...............................................................................
+ int fullscreen = 1; //1=marche en plein ecran