X-Git-Url: http://4ch.mooo.com/gitweb/?a=blobdiff_plain;f=src%2Fexmmtest.c;h=11cdf7cfe77fb17f4422ddf193c3bf7acc9a26ff;hb=62a51803dc18b07a6d1c298220c2aaf553c802e7;hp=881a1356454e69fae62ddcf738fe891da6dcb6d1;hpb=c1e6a21feec58f3f68bbc02253443e6865762a3e;p=16.git 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