GC: fix RetrieveMessage forward.
This commit is contained in:
@@ -129,9 +129,9 @@ EGCResults SteamWorksGCHooks::RetrieveMessage(uint32 *punMsgType, void *pubDest,
|
|||||||
this->pGCRetMsg->PushCell(0);
|
this->pGCRetMsg->PushCell(0);
|
||||||
|
|
||||||
if (pubDest)
|
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
|
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);
|
this->pGCRetMsg->PushCell(cubDest);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user