mirror of
https://gitlab.com/Mr_Goldberg/goldberg_emulator.git
synced 2024-11-23 20:38:07 +01:00
Fix crash.
Thanks wizark952.
This commit is contained in:
parent
1bd90756d1
commit
9eb7066098
1 changed files with 2 additions and 2 deletions
|
@ -175,10 +175,10 @@ ESteamAPICallFailure GetAPICallFailureReason( SteamAPICall_t hSteamAPICall )
|
||||||
|
|
||||||
bool GetAPICallResult( SteamAPICall_t hSteamAPICall, void *pCallback, int cubCallback, int iCallbackExpected, bool *pbFailed )
|
bool GetAPICallResult( SteamAPICall_t hSteamAPICall, void *pCallback, int cubCallback, int iCallbackExpected, bool *pbFailed )
|
||||||
{
|
{
|
||||||
PRINT_DEBUG("GetAPICallResult %llu %i %i\n", hSteamAPICall, cubCallback, iCallbackExpected);
|
PRINT_DEBUG("GetAPICallResult %llu %i %i %p\n", hSteamAPICall, cubCallback, iCallbackExpected, pbFailed);
|
||||||
std::lock_guard<std::recursive_mutex> lock(global_mutex);
|
std::lock_guard<std::recursive_mutex> lock(global_mutex);
|
||||||
if (callback_results->callback_result(hSteamAPICall, pCallback, cubCallback)) {
|
if (callback_results->callback_result(hSteamAPICall, pCallback, cubCallback)) {
|
||||||
*pbFailed = false;
|
if (pbFailed) *pbFailed = false;
|
||||||
PRINT_DEBUG("GetAPICallResult Succeeded\n");
|
PRINT_DEBUG("GetAPICallResult Succeeded\n");
|
||||||
return true;
|
return true;
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in a new issue