]> 4ch.mooo.com Git - 16.git/blobdiff - src/scroll.c
serial debug output added. they are added as _DEBUG_INIT and _DEBUG functions.
[16.git] / src / scroll.c
index 688b91c80586b31b584dcb2371dd4b1e1a9171c1..b108a20d6fd7901e052f454e6b70f3fc4a4082ef 100755 (executable)
@@ -85,6 +85,13 @@ void main(int argc, char *argv[])
                return;
        }
 
+       if (_DEBUG_INIT() == 0) {
+#ifdef DEBUGSERIAL
+               printf("WARNING: Failed to initialize DEBUG output\n");
+#endif
+       }
+       _DEBUG("Serial debug output started\n"); // NTS: All serial output must end messages with newline, or DOSBox-X will not emit text to log
+
        pan.pn=1;
        //player[0].data = &pp;