GC: fix RetrieveMessage forward.

This commit is contained in:
Kyle Sanderson
2020-03-31 09:59:54 -07:00
committed by GitHub
parent 9fb35e2f96
commit 534a692a6c
+2 -2
View File
@@ -129,9 +129,9 @@ EGCResults SteamWorksGCHooks::RetrieveMessage(uint32 *punMsgType, void *pubDest,
this->pGCRetMsg->PushCell(0);
if (pubDest)
this->pGCSendMsg->PushStringEx(reinterpret_cast<char *>(pubDest), cubDest, SM_PARAM_STRING_BINARY | SM_PARAM_STRING_COPY, 0);
this->pGCRetMsg->PushStringEx(reinterpret_cast<char *>(pubDest), cubDest, SM_PARAM_STRING_BINARY | SM_PARAM_STRING_COPY, 0);
else
this->pGCSendMsg->PushStringEx(const_cast<char *>(""), 1, SM_PARAM_STRING_BINARY | SM_PARAM_STRING_COPY, 0);
this->pGCRetMsg->PushStringEx(const_cast<char *>(""), 1, SM_PARAM_STRING_BINARY | SM_PARAM_STRING_COPY, 0);
this->pGCRetMsg->PushCell(cubDest);