diff util.c @ 2032:441d5d6cea2f

Make KDEBUG functionality play nice with gdb remote debugging
author Michael Pavone <pavone@retrodev.com>
date Sat, 20 Feb 2021 14:52:32 -0800
parents cd163b230cf9
children 237068a25523
line wrap: on
line diff
--- a/util.c	Sat Feb 20 14:51:45 2021 -0800
+++ b/util.c	Sat Feb 20 14:52:32 2021 -0800
@@ -534,6 +534,11 @@
 	output_enabled = 0;
 }
 
+uint8_t is_stdout_enabled(void)
+{
+	return output_enabled;
+}
+
 #ifdef _WIN32
 #define WINVER 0x501
 #include <winsock2.h>