mirror of
https://github.com/yuzu-emu/yuzu-android.git
synced 2025-06-11 00:47:58 -05:00
Merge pull request #4976 from comex/poll-events
Overhaul EmuWindow::PollEvents to fix yuzu-cmd calling SDL_PollEvents off main thread
This commit is contained in:
@ -242,7 +242,7 @@ int main(int argc, char** argv) {
|
||||
|
||||
void(system.Run());
|
||||
while (emu_window->IsOpen()) {
|
||||
std::this_thread::sleep_for(std::chrono::milliseconds(1));
|
||||
emu_window->WaitEvent();
|
||||
}
|
||||
void(system.Pause());
|
||||
system.Shutdown();
|
||||
|
Reference in New Issue
Block a user