mirror of
https://github.com/Ryubing/Ryujinx.git
synced 2025-11-19 21:10:53 -05:00
SDL2Driver: Invoke dispatcher on main thread (#3818)
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user