]> 4ch.mooo.com Git - 16.git/blobdiff - src/lib/16_tail.c
i actually fixed a bug instantly O_O on 1st try holy shit lol i gotta now work on...
[16.git] / src / lib / 16_tail.c
index 6cd9eb928368bb6256f64cd78fee23f0ead8c186..675c86803a5b80a9f7469de2c84997815fac4fc0 100755 (executable)
@@ -24,6 +24,7 @@
  */\r
 \r
 #include "src/lib/16_tail.h"\r
+#include "src/lib/16text.h"\r
 \r
 /*\r
 ==========================\r
@@ -68,11 +69,16 @@ void Startup16(global_game_variables_t *gvar)
        }\r
        _DEBUG("Serial debug output started\n"); // NTS: All serial output must end messages with newline, or DOSBox-X will not emit text to log\r
        _DEBUGF("Serial debug output printf test %u %u %u\n",1U,2U,3U);\r
+\r
+       textInit();\r
 #endif\r
        gvar->mm.mmstarted=0;\r
        gvar->pm.PMStarted=0;\r
        MM_Startup(gvar);\r
 #ifdef __WATCOMC__\r
+#ifdef __DEBUG_InputMgr__\r
+       if(!dbg_nointest)\r
+#endif\r
        IN_Startup(gvar);\r
 #endif\r
        PM_Startup(gvar);\r
@@ -96,6 +102,9 @@ void Shutdown16(global_game_variables_t *gvar)
 {\r
        PM_Shutdown(gvar);\r
 #ifdef __WATCOMC__\r
+#ifdef __DEBUG_InputMgr__\r
+       if(!dbg_nointest)\r
+#endif\r
        IN_Shutdown(gvar);\r
 #endif\r
        CA_Shutdown(gvar);\r
@@ -286,7 +295,7 @@ void DebugMemory_(global_game_variables_t *gvar, boolean q)
        printf("With purge:"); if(q) printf("   "); printf("%uk\n", MM_TotalFree(gvar)/1024);\r
        if(q) printf("------------\n");\r
 #ifdef __WATCOMC__\r
-       IN_Ack ();\r
+       //IN_Ack ();\r
 #endif\r
        if(q) MM_ShowMemory (gvar);\r
 }\r