summaryrefslogtreecommitdiff
path: root/src/input_common/sdl/sdl_impl.cpp
diff options
context:
space:
mode:
authorGravatar Morph2020-11-15 23:32:58 -0500
committerGravatar Morph2020-11-15 23:33:21 -0500
commite7e8a87927899b69bfe9f8e38f26dac08ec37abe (patch)
tree1828c860254e477586616a6c44c92ca13b04d0d1 /src/input_common/sdl/sdl_impl.cpp
parentconfigure_input: Accommodate for the mouse input device engine (diff)
downloadyuzu-e7e8a87927899b69bfe9f8e38f26dac08ec37abe.tar.gz
yuzu-e7e8a87927899b69bfe9f8e38f26dac08ec37abe.tar.xz
yuzu-e7e8a87927899b69bfe9f8e38f26dac08ec37abe.zip
sdl_impl: Pump SDL Events at 1000 Hz
Diffstat (limited to '')
-rw-r--r--src/input_common/sdl/sdl_impl.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/input_common/sdl/sdl_impl.cpp b/src/input_common/sdl/sdl_impl.cpp
index 6024ed97a..8c48bb861 100644
--- a/src/input_common/sdl/sdl_impl.cpp
+++ b/src/input_common/sdl/sdl_impl.cpp
@@ -698,7 +698,7 @@ SDLState::SDLState() {
698 using namespace std::chrono_literals; 698 using namespace std::chrono_literals;
699 while (initialized) { 699 while (initialized) {
700 SDL_PumpEvents(); 700 SDL_PumpEvents();
701 std::this_thread::sleep_for(5ms); 701 std::this_thread::sleep_for(1ms);
702 } 702 }
703 }); 703 });
704 } 704 }