From: sparky4 Date: Mon, 26 Sep 2016 19:14:01 +0000 (-0500) Subject: vswap euivalent? X-Git-Url: http://4ch.mooo.com/gitweb/?a=commitdiff_plain;h=9d2a4d657a55149e5c036859b9e49144ed587875;p=16.git vswap euivalent? --- diff --git a/src/exmmtest.c b/src/exmmtest.c index da100d8e..905bdc15 100755 --- a/src/exmmtest.c +++ b/src/exmmtest.c @@ -86,7 +86,7 @@ main(int argc, char *argv[]) //file name // gvar.mm.mmstarted=0; - debugpm=0; + debugpm=1; //PRINTBB if(argv[1]){ bakapee1 = argv[1]; diff --git a/src/lib/16_pm.c b/src/lib/16_pm.c index 030a47b6..6c77f685 100755 --- a/src/lib/16_pm.c +++ b/src/lib/16_pm.c @@ -679,7 +679,10 @@ PML_OpenPageFile(global_game_variables_t *gvar) gvar->pm.fi.PageFile = open(gvar->pm.fi.PageFileName,O_RDONLY + O_BINARY); if (gvar->pm.fi.PageFile == -1) { - Quit("PML_OpenPageFile: Unable to open page file"); + //Quit("PML_OpenPageFile: Unable to open page file"); + printf("PML_OpenPageFile: Unable to open page file"); + printf(": %s\n", gvar->pm.fi.PageFileName); + exit(-1); //return; } @@ -1350,7 +1353,7 @@ PM_Startup(global_game_variables_t *gvar) return; } - strcat(&(gvar->pm.fi.PageFileName), "VSWAP."); + strcpy(&(gvar->pm.fi.PageFileName), "VSWAP."); nomain = noems = noxms = false; for (i = 1;i <