Make Invalid instruction debug assert a non-debug assert.

Users need to be able to see this error message. Otherwise they can't
report bugs.
This commit is contained in:
Scott Mansell 2014-09-06 19:04:34 +12:00
parent 387e1e3f21
commit 50657548b1
1 changed files with 1 additions and 1 deletions

View File

@ -305,7 +305,7 @@ void Interpreter::unknown_instruction(UGeckoInstruction _inst)
std::string disasm = GekkoDisassembler::Disassemble(Memory::ReadUnchecked_U32(last_pc), last_pc);
NOTICE_LOG(POWERPC, "Last PC = %08x : %s", last_pc, disasm.c_str());
Dolphin_Debugger::PrintCallstack();
_dbg_assert_msg_(POWERPC, 0, "\nIntCPU: Unknown instruction %08x at PC = %08x last_PC = %08x LR = %08x\n", _inst.hex, PC, last_pc, LR);
_assert_msg_(POWERPC, 0, "\nIntCPU: Unknown instruction %08x at PC = %08x last_PC = %08x LR = %08x\n", _inst.hex, PC, last_pc, LR);
}
}