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

index 6c77f68567bf8a8039b6cb0f4aef339415d9cb2f..22cd7ea57bb276792f4aac787715c4c5f53dacc4 100755 (executable)
@@ -1348,10 +1348,7 @@ PM_Startup(global_game_variables_t *gvar)
        int             i;\r
 \r
        if (PMStarted)\r
-       {\r
-               printf("pee\n");\r
                return;\r
-       }\r
 \r
        strcpy(&(gvar->pm.fi.PageFileName), "VSWAP.");\r
 \r
index b34d133d86cf884c991be036cb1a8ea6204e4327..6aeed5248cbbfb0d5ac67e9b14f8e42d3cea5fa5 100755 (executable)
@@ -236,7 +236,7 @@ typedef     struct
 //     Main Mem specific variables\r
 typedef struct\r
 {\r
-//     boolean                 MainPresent;\r
+       boolean                 MainPresent;\r
        memptr                  MainMemPages[PMMaxMainMem];\r
        PMBlockAttr             MainMemUsed[PMMaxMainMem];\r
        int                             MainPagesAvail;\r
@@ -245,7 +245,7 @@ typedef struct
 //     EMS specific variables\r
 typedef struct\r
 {\r
-//     boolean                 EMSPresent;\r
+       boolean                 EMSPresent;\r
        unsigned int                    EMSVer;\r
        word                    EMSAvail,EMSPagesAvail,EMSHandle,\r
                                        EMSPageFrame,EMSPhysicalPage;\r
@@ -256,7 +256,7 @@ typedef struct
 //     XMS specific variables\r
 typedef struct\r
 {\r
-//     boolean                 XMSPresent;\r
+       boolean                 XMSPresent;\r
        word                    XMSAvail,XMSPagesAvail,XMSHandle;\r
        dword                   XMSDriver;      //TODO: changed to word\r
        int                             XMSProtectPage;// = -1;\r