Start work on a debug view
This commit is contained in:
@@ -21,8 +21,12 @@ void Interpreter::CheckCompareInterrupt() {
|
||||
}
|
||||
}
|
||||
|
||||
Disassembler::DisassemblyResult Interpreter::Disassemble(const u32 address, const u32 instruction) const {
|
||||
return Disassembler::instance().Disassemble(address, instruction);
|
||||
Disassembler::DisassemblyResult Interpreter::Disassemble(const u32 address) {
|
||||
u32 paddr;
|
||||
if (!regs.cop0.MapVAddr(Cop0::LOAD, address, paddr)) {
|
||||
return {};
|
||||
}
|
||||
return Disassembler::GetInstance().Disassemble(address, mem.Read<u32>(regs, paddr));
|
||||
}
|
||||
|
||||
int Interpreter::Step() {
|
||||
|
||||
Reference in New Issue
Block a user