More Read_U32 cleanup

This commit is contained in:
Henrik Rydgård
2026-08-10 11:23:23 +02:00
parent 7824f69020
commit 2be4d995f2
4 changed files with 24 additions and 10 deletions
+4
View File
@@ -635,6 +635,10 @@ void ImStructViewer::DrawType(
}
const u32 address = base + offset;
if (!Memory::IsValidAddress(address)) {
// Bad!
return;
}
ImGui::PushID(static_cast<int>(address));
ImGui::PushID(watchId); // We push watch id too as it's possible to have multiple watches on the same address