MCPcopy Create free account
hub / github.com/Lovrom8/RSMods / UpdateGameLoadingState

Function UpdateGameLoadingState

DLL/ModManager.cpp:536–542  ·  view source on GitHub ↗

Handles updates while the game is still loading.

Source from the content-addressed store, hash-verified

534 /// Handles updates while the game is still loading.
535 /// </summary>
536 void UpdateGameLoadingState(GameLoopState& state) {
537 GameState::currentMenu = GameState::GetCurrentMenu(true); // This is the safe version of checking the current menu. It is only used while the game boots, else the game may crash.
538
539 CheckIfGameHasLoaded();
540 ConfigureAlternativeSampleRate();
541 HandleAutoLoadProfile(state);
542 }
543
544 /// <summary>
545 /// Configures buffer settings for alternative sample rates.

Callers 1

MainThreadFunction · 0.85

Calls 3

CheckIfGameHasLoadedFunction · 0.85
HandleAutoLoadProfileFunction · 0.85

Tested by

no test coverage detected