]> 4ch.mooo.com Git - 16.git/commitdiff
vswap euivalent?
authorsparky4 <sparky4@cock.li>
Mon, 26 Sep 2016 19:14:01 +0000 (14:14 -0500)
committersparky4 <sparky4@cock.li>
Mon, 26 Sep 2016 19:14:01 +0000 (14:14 -0500)
src/exmmtest.c
src/lib/16_pm.c

index da100d8ef1ade9ef7ab6537a1775643fe087c70a..905bdc15db2297c5e9903e09804cac9c0b5ca735 100755 (executable)
@@ -86,7 +86,7 @@ main(int argc, char *argv[])
        //file name //\r
 \r
        gvar.mm.mmstarted=0;\r
-       debugpm=0;\r
+       debugpm=1;\r
 \r
        //PRINTBB\r
        if(argv[1]){ bakapee1 = argv[1];\r
index 030a47b62d3f6093b17ffe167b286a910d55528d..6c77f68567bf8a8039b6cb0f4aef339415d9cb2f 100755 (executable)
@@ -679,7 +679,10 @@ PML_OpenPageFile(global_game_variables_t *gvar)
        gvar->pm.fi.PageFile = open(gvar->pm.fi.PageFileName,O_RDONLY + O_BINARY);\r
        if (gvar->pm.fi.PageFile == -1)\r
        {\r
-               Quit("PML_OpenPageFile: Unable to open page file");\r
+               //Quit("PML_OpenPageFile: Unable to open page file");\r
+               printf("PML_OpenPageFile: Unable to open page file");\r
+               printf(": %s\n", gvar->pm.fi.PageFileName);\r
+               exit(-1);\r
                //return;\r
        }\r
 \r
@@ -1350,7 +1353,7 @@ PM_Startup(global_game_variables_t *gvar)
                return;\r
        }\r
 \r
-       strcat(&(gvar->pm.fi.PageFileName), "VSWAP.");\r
+       strcpy(&(gvar->pm.fi.PageFileName), "VSWAP.");\r
 \r
        nomain = noems = noxms = false;\r
        for (i = 1;i <\r