Merge pull request #992 from phire/betterassert

Make Invalid instruction debug assert a non-debug assert.
This commit is contained in:
Lioncash 2014-09-06 03:12:19 -04:00
commit e035ac5591
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);
}
}