summaryrefslogtreecommitdiff
path: root/core/debug.c
diff options
context:
space:
mode:
Diffstat (limited to 'core/debug.c')
-rw-r--r--core/debug.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/core/debug.c b/core/debug.c
new file mode 100644
index 00000000..9bf8b3a6
--- /dev/null
+++ b/core/debug.c
@@ -0,0 +1,9 @@
+#include "core.h"
+#include <dprintf.h>
+
+void pm_debug_msg(com32sys_t *regs)
+{
+ (void)regs; /* For the non-DEBUG configuration */
+
+ dprintf("%s\n", MK_PTR(0, regs->eax.w[0]));
+}