summaryrefslogtreecommitdiffstats
path: root/src/input_common
diff options
context:
space:
mode:
authorNarr the Reg <juangerman-13@hotmail.com>2021-11-30 04:03:47 +0100
committerGitHub <noreply@github.com>2021-11-30 04:03:47 +0100
commite4492a9a821659cd0c4e874234020cdb630a108b (patch)
tree209825871063faaf29015315aa9990502cc75c74 /src/input_common
parentMerge pull request #7466 from vonchenplus/add_miss_pixel_format_mapping (diff)
downloadyuzu-e4492a9a821659cd0c4e874234020cdb630a108b.tar
yuzu-e4492a9a821659cd0c4e874234020cdb630a108b.tar.gz
yuzu-e4492a9a821659cd0c4e874234020cdb630a108b.tar.bz2
yuzu-e4492a9a821659cd0c4e874234020cdb630a108b.tar.lz
yuzu-e4492a9a821659cd0c4e874234020cdb630a108b.tar.xz
yuzu-e4492a9a821659cd0c4e874234020cdb630a108b.tar.zst
yuzu-e4492a9a821659cd0c4e874234020cdb630a108b.zip
Diffstat (limited to 'src/input_common')
-rw-r--r--src/input_common/drivers/sdl_driver.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/input_common/drivers/sdl_driver.cpp b/src/input_common/drivers/sdl_driver.cpp
index 90128b6cf..1052ed394 100644
--- a/src/input_common/drivers/sdl_driver.cpp
+++ b/src/input_common/drivers/sdl_driver.cpp
@@ -388,8 +388,6 @@ void SDLDriver::CloseJoysticks() {
}
SDLDriver::SDLDriver(const std::string& input_engine_) : InputEngine(input_engine_) {
- Common::SetCurrentThreadName("yuzu:input:SDL");
-
if (!Settings::values.enable_raw_input) {
// Disable raw input. When enabled this setting causes SDL to die when a web applet opens
SDL_SetHint(SDL_HINT_JOYSTICK_RAWINPUT, "0");
@@ -422,6 +420,7 @@ SDLDriver::SDLDriver(const std::string& input_engine_) : InputEngine(input_engin
initialized = true;
if (start_thread) {
poll_thread = std::thread([this] {
+ Common::SetCurrentThreadName("yuzu:input:SDL");
using namespace std::chrono_literals;
while (initialized) {
SDL_PumpEvents();