X-Git-Url: http://4ch.mooo.com/gitweb/?p=16.git;a=blobdiff_plain;f=src%2Fexmmtest.c;h=11cdf7cfe77fb17f4422ddf193c3bf7acc9a26ff;hp=881a1356454e69fae62ddcf738fe891da6dcb6d1;hb=c8d0f894b450f6dc3b80fbe28fedff4d424ce294;hpb=07c33a14eb8a32cfc537033ec2146c48e98ece8f diff --git a/src/exmmtest.c b/src/exmmtest.c index 881a1356..11cdf7cf 100755 --- a/src/exmmtest.c +++ b/src/exmmtest.c @@ -48,7 +48,7 @@ #define BBUFNAME gvar.ca.tinf[0]//bigbuffer //#define INITBBUF static memptr BBUFNAME; -#define BBUFPTR &BBUFNAME +#define BBUFPTR (memptr *)&BBUFNAME #ifdef __BORLANDC__ #define BBUF (memptr *)BBUFPTR// @@ -59,6 +59,7 @@ #define BBUFSTRING BBUF #endif +//////////////////////////////////////////////////////////////////////////// void VGAmodeX(sword vq, boolean cmem, global_game_variables_t *gv) { @@ -222,13 +223,13 @@ PRINTBB; printf("\n\npress any key to continue!\n"); getch(); #endif #endif //filereadload -/* + #ifdef __WATCOMC__ - IN_Shutdown(&gvar); - ShapeTest (&gvar); IN_Startup(&gvar); + ShapeTest (&gvar); + IN_Shutdown(&gvar); #endif -*/ + DebugMemory_(&gvar, 1); MM_DumpData(&gvar); @@ -294,7 +295,7 @@ PRINTBB; printf("\n\npress any key to continue!\n"); getch(); printf("debugmm: %u\t", dbg_debugmm); #endif #ifdef __DEBUG_PM__ - printf("debugpm: %u", dbg_ddebugpm); + printf("debugpm: %u", dbg_debugpm); #endif printf("\n"); #endif