From b7cee84bdabb03df9c9a6e781022d6772a7b0919 Mon Sep 17 00:00:00 2001 From: "Skyth (Asilkan)" <19259897+blueskythlikesclouds@users.noreply.github.com> Date: Sun, 9 Feb 2025 20:04:13 +0300 Subject: [PATCH] Prevent calling GameWindow::Update() outside the main thread. (#340) --- UnleashedRecomp/app.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/UnleashedRecomp/app.cpp b/UnleashedRecomp/app.cpp index 5b6c163..24640ab 100644 --- a/UnleashedRecomp/app.cpp +++ b/UnleashedRecomp/app.cpp @@ -69,9 +69,9 @@ PPC_FUNC(sub_822C1130) { SDL_PumpEvents(); SDL_FlushEvents(SDL_FIRSTEVENT, SDL_LASTEVENT); + GameWindow::Update(); } - GameWindow::Update(); AudioPatches::Update(App::s_deltaTime); InspirePatches::Update();