mirror of
https://gitlab.com/Mr_Goldberg/goldberg_emulator.git
synced 2025-12-06 12:14:54 +01:00
Make the TriggerVibrationvibration behave closer to real steam.
This commit is contained in:
parent
b3a5102a3c
commit
a24a9c266f
3 changed files with 108 additions and 4 deletions
|
|
@ -262,6 +262,7 @@ STEAMAPI_API void S_CALLTYPE SteamAPI_Shutdown()
|
|||
PRINT_DEBUG("SteamAPI_Shutdown\n");
|
||||
get_steam_client()->clientShutdown();
|
||||
get_steam_client()->BReleaseSteamPipe(user_steam_pipe);
|
||||
get_steam_client()->BShutdownIfAllPipesClosed();
|
||||
user_steam_pipe = 0;
|
||||
--global_counter;
|
||||
old_user_instance = NULL;
|
||||
|
|
@ -652,6 +653,7 @@ STEAMAPI_API void SteamGameServer_Shutdown()
|
|||
PRINT_DEBUG("SteamGameServer_Shutdown\n");
|
||||
get_steam_client()->serverShutdown();
|
||||
get_steam_client()->BReleaseSteamPipe(server_steam_pipe);
|
||||
get_steam_client()->BShutdownIfAllPipesClosed();
|
||||
server_steam_pipe = 0;
|
||||
--global_counter;
|
||||
g_pSteamClientGameServer = NULL; //TODO: check if this actually gets nulled when SteamGameServer_Shutdown is called
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue