]> 4ch.mooo.com Git - 16.git/blobdiff - src/vrstest.c
updated the copyleft wwww i am not deAD! i just been 2 busy last 6 monthes
[16.git] / src / vrstest.c
index 2e6a90bbc128d74aa1dc897616ad731d00e02c4e..8e2a4c417afa52df013ced2f80cd38fff9bfa996 100755 (executable)
@@ -1,5 +1,5 @@
 /* Project 16 Source Code~\r
- * Copyright (C) 2012-2017 sparky4 & pngwen & andrius4669 & joncampbell123 & yakui-lover\r
+ * Copyright (C) 2012-2018 sparky4 & pngwen & andrius4669 & joncampbell123 & yakui-lover\r
  *\r
  * This file is part of Project 16.\r
  *\r
@@ -28,7 +28,9 @@
 #include "src/lib/16_ca.h"\r
 #include "src/lib/16_mm.h"\r
 \r
+#ifdef __DEBUG_InputMgr__\r
 extern boolean dbg_nointest;\r
+#endif\r
 boolean panswitch;\r
 \r
 static word far* clockw= (word far*) 0x046C; /* 18.2hz clock */\r
@@ -53,7 +55,9 @@ void main()
        int size=0;\r
 */\r
 \r
+#ifdef __DEBUG_InputMgr__\r
        dbg_nointest=0;\r
+#endif\r
        Startup16(&gvar);\r
 \r
 /*     CA_LoadFile("data/spri/chikyuu.vrs", &bigbuffer, &gvar);\r
@@ -147,7 +151,7 @@ void main()
                TAIL_FUNCTIONKEYDRAWJUNKNOMV\r
                if(gvar.in.inst->Keyboard[sc_F7]){ VL_ShowPage(&gvar.video.page[0], 1, 1);                                                      IN_UserInput(1, &gvar); }\r
                if(gvar.in.inst->Keyboard[sc_F6]){ VL_ShowPage(&gvar.video.page[0], 1, 0);                                                      IN_UserInput(1, &gvar); }\r
-               if(gvar.in.inst->Keyboard[25]){ modexpdump(&gvar.video.page[0]);  IN_UserInput(1, &gvar); } //p\r
+               if(gvar.in.inst->Keyboard[25]){ modexpdump(0, &gvar);  IN_UserInput(1, &gvar); } //p\r
        }\r
        VGAmodeX(0, 1, &gvar);\r
        MM_ShowMemory(&gvar);\r