Start work on imdbg

This commit is contained in:
Henrik Rydgård committed 2024-11-07 11:10:12 +01:00
1 parent 6fcb75ce63
commit cf6d06c56a
23 files changed
+1645 -31

No files matched your search

+1 -1
View File
@@ -100,7 +100,7 @@ void WebSocketDisasmState::WriteDisasmLine(JsonWriter &json, const DisassemblyLi
} else {
json.writeNull("macroEncoding");
}
int c = currentDebugMIPS->getColor(addr) & 0x00FFFFFF;
int c = currentDebugMIPS->getColor(addr, false) & 0x00FFFFFF;
json.writeString("backgroundColor", StringFromFormat("#%02x%02x%02x", c & 0xFF, (c >> 8) & 0xFF, c >> 16));
json.writeString("name", l.name);
json.writeString("params", l.params);