From 0022ff2de936d7b47a957aea8e5c064edb98720b Mon Sep 17 00:00:00 2001 From: AJR Date: Sun, 19 Jun 2022 12:07:52 -0400 Subject: m32cdasm.cpp: Add some default cases to switch blocks --- src/devices/cpu/m32c/m32cdasm.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/devices/cpu/m32c/m32cdasm.cpp') diff --git a/src/devices/cpu/m32c/m32cdasm.cpp b/src/devices/cpu/m32c/m32cdasm.cpp index a198971e965..63dd5a14597 100644 --- a/src/devices/cpu/m32c/m32cdasm.cpp +++ b/src/devices/cpu/m32c/m32cdasm.cpp @@ -508,6 +508,10 @@ void m32c_disassembler::dasm_general(std::ostream &stream, offs_t &pc, offs_t &f util::stream_format(stream, "%-11sR1H, ", BIT(op2, 4) ? "sha.l" : "shl.l"); dasm_operand(stream, pc, opcodes, (op1 & 0x0e) << 1 | BIT(op2, 6, 2), 2, indirect_dest); break; + + default: + stream << "und"; + break; } break; @@ -688,6 +692,10 @@ void m32c_disassembler::dasm_general(std::ostream &stream, offs_t &pc, offs_t &f else stream << "und"; break; + + default: + stream << "und"; + break; } break; -- cgit v1.2.3-70-g09d2