From 53d981a06d3945a96f068eb3239c00dbf82d1644 Mon Sep 17 00:00:00 2001 From: Kawe Mazidjatari <48657826+Mauler125@users.noreply.github.com> Date: Sat, 16 Sep 2023 22:34:21 +0200 Subject: [PATCH] Fix incorrect address print Printed the wrong pointer. --- r5dev/vpc/interfaces.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/r5dev/vpc/interfaces.h b/r5dev/vpc/interfaces.h index 3fb201ce..2b8ac3f8 100644 --- a/r5dev/vpc/interfaces.h +++ b/r5dev/vpc/interfaces.h @@ -67,7 +67,7 @@ class VFactory : public IDetour { virtual void GetAdr(void) const { - LogFunAdr("CreateInterfaceInternal", reinterpret_cast(s_ppInterfaceRegs)); + LogFunAdr("CreateInterfaceInternal", p_CreateInterfaceInternal.GetPtr()); LogVarAdr("s_pInterfaceRegs", reinterpret_cast(s_ppInterfaceRegs)); } virtual void GetFun(void) const