New ppc opcode decoder.
Seems to work and match up with the old decoder (which may be bad). Old decoder remains until all functionality is replaced.
This commit is contained in:
@@ -502,12 +502,10 @@ void DebugWindow::DrawGuestFunctionSource() {
|
||||
ImGui::Text(" %c ", is_current_instr ? '>' : ' ');
|
||||
ImGui::SameLine();
|
||||
|
||||
cpu::ppc::InstrData i;
|
||||
i.address = address;
|
||||
i.code = xe::load_and_swap<uint32_t>(memory->TranslateVirtual(address));
|
||||
i.type = cpu::ppc::GetInstrType(i.code);
|
||||
cpu::ppc::DisasmPPC(&i, &str);
|
||||
ImGui::Text("%.8X %.8X %s", address, i.code, str.GetString());
|
||||
uint32_t code =
|
||||
xe::load_and_swap<uint32_t>(memory->TranslateVirtual(address));
|
||||
cpu::ppc::DisasmPPC(address, code, &str);
|
||||
ImGui::Text("%.8X %.8X %s", address, code, str.GetString());
|
||||
str.Reset();
|
||||
|
||||
if (is_current_instr) {
|
||||
|
||||
Reference in New Issue
Block a user