SDL2Driver: Invoke dispatcher on main thread (#3818)

This commit is contained in:
merry
2022-12-02 13:37:22 +00:00
committed by GitHub
parent d9053bbe37
commit 204c031fef
5 changed files with 31 additions and 21 deletions

View File

@ -638,16 +638,7 @@ namespace Ryujinx.Headless.SDL2
Translator.IsReadyForTranslation.Reset();
Thread windowThread = new Thread(() =>
{
ExecutionEntrypoint();
})
{
Name = "GUI.WindowThread"
};
windowThread.Start();
windowThread.Join();
ExecutionEntrypoint();
return true;
}