forgot about the non-zero base of the conventional memory selector in CWSDPMI...
[retrobench] / src / dos / main.c
index 048aa9d..aeb18ba 100644 (file)
@@ -17,16 +17,16 @@ int main(int argc, char **argv)
        int num_frames = 0;
        void *vmem;
 
+#ifdef __DJGPP__
+       __djgpp_nearptr_enable();
+#endif
+
        read_config("rbench.cfg");
 
        if(parse_args(argc, argv) == -1) {
                return 1;
        }
 
-#ifdef __DJGPP__
-       __djgpp_nearptr_enable();
-#endif
-
        init_logger("rbench.log");
 
        if(init_video() == -1) {