Overhaul logging.
This commit is contained in:
@@ -146,7 +146,7 @@ bool PPCHIRBuilder::Emit(GuestFunction* function, uint32_t flags) {
|
||||
instr_offset_list_[offset] = first_instr;
|
||||
|
||||
if (opcode == PPCOpcode::kInvalid) {
|
||||
XELOGE("Invalid instruction %.8llX %.8X", address, code);
|
||||
XELOGE("Invalid instruction {:08X} {:08X}", address, code);
|
||||
Comment("INVALID!");
|
||||
// TraceInvalidInstruction(i);
|
||||
continue;
|
||||
@@ -169,7 +169,7 @@ bool PPCHIRBuilder::Emit(GuestFunction* function, uint32_t flags) {
|
||||
i.opcode_info = &opcode_info;
|
||||
if (!opcode_info.emit || opcode_info.emit(*this, i)) {
|
||||
auto& disasm_info = GetOpcodeDisasmInfo(opcode);
|
||||
XELOGE("Unimplemented instr %.8llX %.8X %s", address, code,
|
||||
XELOGE("Unimplemented instr {:08X} {:08X} {}", address, code,
|
||||
disasm_info.name);
|
||||
Comment("UNIMPLEMENTED!");
|
||||
DebugBreak();
|
||||
|
||||
Reference in New Issue
Block a user