Some small fixes, parse directly into MetaDictionary.

This commit is contained in:
Ottermandias 2024-06-08 20:46:29 +02:00
parent 0445ed0ef9
commit d9b63320f0
5 changed files with 17 additions and 30 deletions

View file

@ -432,7 +432,7 @@ public class DebugTab : Window, ITab
foreach (var obj in _objects)
{
ImGuiUtil.DrawTableColumn($"{((GameObject*)obj.Address)->ObjectIndex}");
ImGuiUtil.DrawTableColumn(obj.Address == nint.Zero ? $"{((GameObject*)obj.Address)->ObjectIndex}" : "NULL");
ImGuiUtil.DrawTableColumn($"0x{obj.Address:X}");
ImGuiUtil.DrawTableColumn(obj.Address == nint.Zero
? string.Empty