X-Git-Url: http://4ch.mooo.com/gitweb/?p=16.git;a=blobdiff_plain;f=src%2Fexmmtest.c;h=11cdf7cfe77fb17f4422ddf193c3bf7acc9a26ff;hp=b6efd4ebae120ef0ee01d204c8d6db63d16765fc;hb=c8d0f894b450f6dc3b80fbe28fedff4d424ce294;hpb=504952db812eb43b41636db1da125be946cfd35f diff --git a/src/exmmtest.c b/src/exmmtest.c index b6efd4eb..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) { @@ -221,6 +222,15 @@ PRINTBB; printf("\n\npress any key to continue!\n"); getch(); printf("press any key to continue!\n"); getch(); #endif #endif //filereadload + + +#ifdef __WATCOMC__ + IN_Startup(&gvar); + ShapeTest (&gvar); + IN_Shutdown(&gvar); +#endif + + DebugMemory_(&gvar, 1); MM_DumpData(&gvar); MM_Report_(&gvar); @@ -285,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