X-Git-Url: http://4ch.mooo.com/gitweb/?a=blobdiff_plain;f=src%2Flib%2F16_tail.c;h=675c86803a5b80a9f7469de2c84997815fac4fc0;hb=bb4d13928a126dede13e5ccc3cdb19059ed71b55;hp=6cd9eb928368bb6256f64cd78fee23f0ead8c186;hpb=52711700f92f02fe8976d2e035a04a4501842b9f;p=16.git diff --git a/src/lib/16_tail.c b/src/lib/16_tail.c index 6cd9eb92..675c8680 100755 --- a/src/lib/16_tail.c +++ b/src/lib/16_tail.c @@ -24,6 +24,7 @@ */ #include "src/lib/16_tail.h" +#include "src/lib/16text.h" /* ========================== @@ -68,11 +69,16 @@ void Startup16(global_game_variables_t *gvar) } _DEBUG("Serial debug output started\n"); // NTS: All serial output must end messages with newline, or DOSBox-X will not emit text to log _DEBUGF("Serial debug output printf test %u %u %u\n",1U,2U,3U); + + textInit(); #endif gvar->mm.mmstarted=0; gvar->pm.PMStarted=0; MM_Startup(gvar); #ifdef __WATCOMC__ +#ifdef __DEBUG_InputMgr__ + if(!dbg_nointest) +#endif IN_Startup(gvar); #endif PM_Startup(gvar); @@ -96,6 +102,9 @@ void Shutdown16(global_game_variables_t *gvar) { PM_Shutdown(gvar); #ifdef __WATCOMC__ +#ifdef __DEBUG_InputMgr__ + if(!dbg_nointest) +#endif IN_Shutdown(gvar); #endif CA_Shutdown(gvar); @@ -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); if(q) printf("------------\n"); #ifdef __WATCOMC__ - IN_Ack (); + //IN_Ack (); #endif if(q) MM_ShowMemory (gvar); }