mirror of
https://github.com/TwilitRealm/dusklight
synced 2026-06-03 18:06:02 -04:00
Fix bad snprintf in ImGuiHeapOverlay.cpp
This commit is contained in:
@@ -241,7 +241,7 @@ namespace dusk {
|
||||
}
|
||||
|
||||
char bufId[32];
|
||||
snprintf(bufId, sizeof(bufId), "%p", block);
|
||||
snprintf(bufId, sizeof(bufId), "%p", block.block);
|
||||
ImGui::PushID(bufId);
|
||||
ImGui::TableNextColumn();
|
||||
ImGui::Text("%08X", (u32)((uintptr_t)block.block - (uintptr_t)expHeap->getStartAddr()));
|
||||
|
||||
Reference in New Issue
Block a user