diff --git a/dll/steam_remoteplay.h b/dll/steam_remoteplay.h index feaeea65..868a7dd2 100644 --- a/dll/steam_remoteplay.h +++ b/dll/steam_remoteplay.h @@ -103,6 +103,9 @@ ESteamDeviceFormFactor GetSessionClientFormFactor( uint32 unSessionID ) bool BGetSessionClientResolution( uint32 unSessionID, int *pnResolutionX, int *pnResolutionY ) { PRINT_DEBUG("Steam_RemotePlay::BGetSessionClientResolution\n"); + std::lock_guard lock(global_mutex); + if (pnResolutionX) *pnResolutionX = 0; + if (pnResolutionY) *pnResolutionY = 0; return false; }