mirror of
https://github.com/xivdev/Penumbra.git
synced 2025-12-12 10:17:22 +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.TextUnformatted($"Slot {i}");
|
||||
ImGui.TableNextColumn();
|
||||
ImGui.TextUnformatted(imc == null ? "NULL" : $"0x{(ulong)imc:X}");
|
||||
Penumbra.Dynamis.DrawPointer((nint)imc);
|
||||
ImGui.TableNextColumn();
|
||||
if (imc != null)
|
||||
UiHelpers.Text(imc);
|
||||
|
||||
var mdl = (RenderModel*)model->Models[i];
|
||||
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)
|
||||
continue;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue