From c8364052e0e0bdcca618143130d82c515caeec9a Mon Sep 17 00:00:00 2001 From: folkert van heusden Date: Sun, 13 Mar 2022 14:24:57 +0100 Subject: [PATCH] segfault in MTPS --- cpu.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cpu.cpp b/cpu.cpp index 9bc0824..e79b9d3 100644 --- a/cpu.cpp +++ b/cpu.cpp @@ -627,6 +627,8 @@ bool cpu::single_operand_instructions(const uint16_t instr) #ifndef NDEBUG std::string debug_b; std::string *dst_gam_text = &debug_b; + std::string debug_b2; + std::string *src_gam_text = &debug_b2; #endif switch(opcode) {