mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2025-07-23 16:45:47 +00:00
sdl_impl: Pump SDL Events at 1000 Hz
This commit is contained in:
parent
7af3c351ac
commit
f5ee5e7f3c
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue