mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-11 05:26:24 +02:00
Debugger: Show string in status bar for li, etc.
This is helpful when stepping through the debugger. Only shows likely UTF-8 or similar formatted text, but often names or error messages are.
This commit is contained in:
1 parent
fd2aecdbc2
commit
012d47bcbf
4 files changed
+43
No files matched your search
@@ -188,6 +188,10 @@ void WebSocketDisasmState::WriteDisasmLine(JsonWriter &json, const DisassemblyLi
|
||||
json.writeUint("uintValue", Memory::ReadUnchecked_U32(l.info.relevantAddress));
|
||||
else
|
||||
json.writeNull("uintValue");
|
||||
if (IsLikelyStringAt(l.info.relevantAddress))
|
||||
json.writeString("stringValue", Memory::GetCharPointer(l.info.relevantAddress));
|
||||
else
|
||||
json.writeNull("stringValue");
|
||||
json.pop();
|
||||
} else {
|
||||
json.writeNull("relevantData");
|
||||
|
||||
Reference in new issue
Block a user