mirror of
https://github.com/hedge-dev/UnleashedRecomp.git
synced 2025-10-30 07:11:05 +00:00
Prevent calling GameWindow::Update() outside the main thread. (#340)
This commit is contained in:
parent
073065c6a6
commit
b7cee84bda
1 changed files with 1 additions and 1 deletions
|
|
@ -69,9 +69,9 @@ PPC_FUNC(sub_822C1130)
|
||||||
{
|
{
|
||||||
SDL_PumpEvents();
|
SDL_PumpEvents();
|
||||||
SDL_FlushEvents(SDL_FIRSTEVENT, SDL_LASTEVENT);
|
SDL_FlushEvents(SDL_FIRSTEVENT, SDL_LASTEVENT);
|
||||||
|
GameWindow::Update();
|
||||||
}
|
}
|
||||||
|
|
||||||
GameWindow::Update();
|
|
||||||
AudioPatches::Update(App::s_deltaTime);
|
AudioPatches::Update(App::s_deltaTime);
|
||||||
InspirePatches::Update();
|
InspirePatches::Update();
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue