OSDN Git Service

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 6c77f68..22cd7ea 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 b34d133..6aeed52 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