From 534a692a6c5aaa979a563f84ad290991e9a9edfe Mon Sep 17 00:00:00 2001 From: Kyle Sanderson Date: Tue, 31 Mar 2020 09:59:54 -0700 Subject: [PATCH] GC: fix RetrieveMessage forward. --- Extension/swgchooks.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Extension/swgchooks.cpp b/Extension/swgchooks.cpp index 76c04f2..2916d22 100644 --- a/Extension/swgchooks.cpp +++ b/Extension/swgchooks.cpp @@ -129,9 +129,9 @@ EGCResults SteamWorksGCHooks::RetrieveMessage(uint32 *punMsgType, void *pubDest, this->pGCRetMsg->PushCell(0); if (pubDest) - this->pGCSendMsg->PushStringEx(reinterpret_cast(pubDest), cubDest, SM_PARAM_STRING_BINARY | SM_PARAM_STRING_COPY, 0); + this->pGCRetMsg->PushStringEx(reinterpret_cast(pubDest), cubDest, SM_PARAM_STRING_BINARY | SM_PARAM_STRING_COPY, 0); else - this->pGCSendMsg->PushStringEx(const_cast(""), 1, SM_PARAM_STRING_BINARY | SM_PARAM_STRING_COPY, 0); + this->pGCRetMsg->PushStringEx(const_cast(""), 1, SM_PARAM_STRING_BINARY | SM_PARAM_STRING_COPY, 0); this->pGCRetMsg->PushCell(cubDest);