parent
1bd90756d1
commit
9eb7066098
|
@ -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 New Issue