mirror of
https://github.com/xivdev/Penumbra.git
synced 2025-12-13 20:24:17 +01:00
Use dynamis for some pointers.
This commit is contained in:
parent
cd56163b1b
commit
82fc334be7
1 changed files with 2 additions and 2 deletions
|
|
@ -1075,14 +1075,14 @@ public class DebugTab : Window, ITab, IUiService
|
||||||
ImGui.TableNextColumn();
|
ImGui.TableNextColumn();
|
||||||
ImGui.TextUnformatted($"Slot {i}");
|
ImGui.TextUnformatted($"Slot {i}");
|
||||||
ImGui.TableNextColumn();
|
ImGui.TableNextColumn();
|
||||||
ImGui.TextUnformatted(imc == null ? "NULL" : $"0x{(ulong)imc:X}");
|
Penumbra.Dynamis.DrawPointer((nint)imc);
|
||||||
ImGui.TableNextColumn();
|
ImGui.TableNextColumn();
|
||||||
if (imc != null)
|
if (imc != null)
|
||||||
UiHelpers.Text(imc);
|
UiHelpers.Text(imc);
|
||||||
|
|
||||||
var mdl = (RenderModel*)model->Models[i];
|
var mdl = (RenderModel*)model->Models[i];
|
||||||
ImGui.TableNextColumn();
|
ImGui.TableNextColumn();
|
||||||
ImGui.TextUnformatted(mdl == null ? "NULL" : $"0x{(ulong)mdl:X}");
|
Penumbra.Dynamis.DrawPointer((nint)mdl);
|
||||||
if (mdl == null || mdl->ResourceHandle == null || mdl->ResourceHandle->Category != ResourceCategory.Chara)
|
if (mdl == null || mdl->ResourceHandle == null || mdl->ResourceHandle->Category != ResourceCategory.Chara)
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue