mirror of
https://github.com/hedge-dev/UnleashedRecomp.git
synced 2026-04-27 04:41:39 +00:00
Prevent calling GameWindow::Update() outside the main thread.
This commit is contained in:
parent
f7e660b5d8
commit
f7d35044a0
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