aboutsummaryrefslogtreecommitdiff
path: root/source/spc700.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'source/spc700.cpp')
-rw-r--r--source/spc700.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/spc700.cpp b/source/spc700.cpp
index 69ed120..c12cd08 100644
--- a/source/spc700.cpp
+++ b/source/spc700.cpp
@@ -143,6 +143,8 @@ void STOP (char *s)
#ifdef DEBUGGER
S9xAPUOPrint (buffer, IAPU.PC - IAPU.RAM);
+#else
+ buffer[0] = '\0';
#endif
sprintf (String, "Sound CPU in unknown state executing %s at %04X\n%s\n", s, IAPU.PC - IAPU.RAM, buffer);