mirror of
https://github.com/yuzu-emu/yuzu-mainline.git
synced 2024-12-27 15:15:45 +00:00
sdl_impl: Pump SDL Events at 1000 Hz
This commit is contained in:
parent
b254d528bc
commit
e7e8a87927
|
@ -698,7 +698,7 @@ SDLState::SDLState() {
|
||||||
using namespace std::chrono_literals;
|
using namespace std::chrono_literals;
|
||||||
while (initialized) {
|
while (initialized) {
|
||||||
SDL_PumpEvents();
|
SDL_PumpEvents();
|
||||||
std::this_thread::sleep_for(5ms);
|
std::this_thread::sleep_for(1ms);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue