mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-21 05:09:34 -06:00
Check whether the core is running instead of checking if it is unitialized.
This properly handles the stopping state and more accurately represents the intended check.
This commit is contained in:
@ -131,7 +131,7 @@ void Host_SetWiiMoteConnectionState(int _State) {}
|
||||
void X11_MainLoop()
|
||||
{
|
||||
bool fullscreen = SConfig::GetInstance().m_LocalCoreStartupParameter.bFullscreen;
|
||||
while (Core::GetState() == Core::CORE_UNINITIALIZED)
|
||||
while (!Core::IsRunning())
|
||||
updateMainFrameEvent.Wait();
|
||||
|
||||
Display *dpy = XOpenDisplay(0);
|
||||
|
Reference in New Issue
Block a user