From b9c6b36a4d9c18134face14976e5e9c98cf5f113 Mon Sep 17 00:00:00 2001 From: Skyth <19259897+blueskythlikesclouds@users.noreply.github.com> Date: Mon, 16 Dec 2024 18:38:45 +0300 Subject: [PATCH] Fix xpointer constructor. --- PowerUtils/xbox.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PowerUtils/xbox.h b/PowerUtils/xbox.h index 161eb1b..ff063a4 100644 --- a/PowerUtils/xbox.h +++ b/PowerUtils/xbox.h @@ -105,7 +105,7 @@ struct xpointer { } - xpointer(T* ptr) : ptr((uint32_t)ptr) + xpointer(T* ptr) : ptr(reinterpret_cast(ptr) - reinterpret_cast(MmGetHostAddress(0))) { }