]> 4ch.mooo.com Git - 16.git/blobdiff - src/lib/16_dbg.c
ok wwwww zscroll and scroll compile disabled due to me being too tired to whack at...
[16.git] / src / lib / 16_dbg.c
index 13d5846de0d99293bf2d8c107807dda32e381292..960e76049faa683fff1e413678951f5669c70e75 100755 (executable)
@@ -1,5 +1,16 @@
+#include "src/lib/16_dbg.h"\r
+//#include "src/16.h"\r
+\r
+\r
+#ifdef __DEBUG__\r
+#ifdef __DEBUG_PM__\r
+boolean dbg_debugpm=0;\r
+#endif\r
+#ifdef __DEBUG_InputMgr__\r
+boolean dbg_testkeyin=0,dbg_testcontrolnoisy=0,dbg_noplayerinpu=0;\r
+#endif\r
+#endif\r
 \r
-#include "src/16.h"\r
 \r
 // TODO: Could we also provide a build mode to emit debug to the "Bochs E9 hack?"\r
 #ifdef DEBUGSERIAL\r
 unsigned char _DEBUG_INITed = 0;\r
 struct info_8250 *_DEBUG_uart = NULL;\r
 \r
-#ifdef __DEBUG__\r
-#ifdef __DEBUG_PM__\r
-boolean dbg_debugpm=0;\r
-#endif\r
-#ifdef __DEBUG_InputMgr__\r
-boolean dbg_testkeyin=0,dbg_testcontrolnoisy=0;\r
-#endif\r
-#endif\r
-\r
 int _DEBUG_INIT() {\r
        if (!_DEBUG_INITed) {\r
                unsigned int i;\r