mirror of
https://github.com/hrydgard/ppsspp.git
synced 2024-11-23 13:30:02 +00:00
riscv: Fix PC in disassembly.
This commit is contained in:
parent
e34736fbb2
commit
9f917488c3
@ -340,7 +340,7 @@ std::vector<std::string> DisassembleRV64(const u8 *data, int size) {
|
||||
}
|
||||
|
||||
invalid_flush();
|
||||
riscv_disasm_inst(temp, sizeof(temp), rv64, i * 4, inst);
|
||||
riscv_disasm_inst(temp, sizeof(temp), rv64, (uintptr_t)data + i, inst);
|
||||
lines.push_back(ReplaceAll(temp, "\t", " "));
|
||||
|
||||
i += (int)len;
|
||||
|
Loading…
Reference in New Issue
Block a user