summaryrefslogtreecommitdiff
path: root/powermanga/powermanga-0.79/pda-tweaks.patch
blob: 202980e9093786e4b2e26c6aa0003cb72cd53803 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
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