Prevent calling GameWindow::Update() outside the main thread.

This commit is contained in:
Skyth 2025-02-09 16:01:31 +03:00
parent f7e660b5d8
commit f7d35044a0

View file

@ -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();