more ParallelRDP debugging

This commit is contained in:
CocoSimone
2022-08-12 19:44:32 +02:00
parent e4c6217fd0
commit ed34d9c9ba
8 changed files with 53 additions and 30 deletions

View File

@@ -100,7 +100,7 @@ inline void HandleInterrupt(Registers& regs) {
void Cpu::LogInstruction(u32 instruction) {
#ifndef NDEBUG
u8 code[4]{};
/*u8 code[4]{};
u32 bswapped = be32toh(instruction);
memcpy(code, &instruction, 4);
count = cs_disasm(handle, code, 4, regs.pc, 0, &insn);
@@ -112,7 +112,7 @@ void Cpu::LogInstruction(u32 instruction) {
cs_free(insn, count);
} else {
util::panic("Failed to disassemble {:08X}!", instruction);
}
}*/
#endif
}