From 1c339736858743fd11b7aefe3a1f0ced0704bbf2 Mon Sep 17 00:00:00 2001 From: cathery Date: Sat, 18 Apr 2020 20:10:47 +0300 Subject: [PATCH] Revert "Lower controller thread priority to avoid freezes" This reverts commit fb64348b7a532c625ac2e41c824f91a799db6650. --- source/ControllerSwitch/SwitchVirtualGamepadHandler.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/ControllerSwitch/SwitchVirtualGamepadHandler.cpp b/source/ControllerSwitch/SwitchVirtualGamepadHandler.cpp index f766630..a284b8e 100644 --- a/source/ControllerSwitch/SwitchVirtualGamepadHandler.cpp +++ b/source/ControllerSwitch/SwitchVirtualGamepadHandler.cpp @@ -34,7 +34,7 @@ void SwitchVirtualGamepadHandler::OutputThreadLoop(void *handler) Result SwitchVirtualGamepadHandler::InitInputThread() { - R_TRY(m_inputThread.Initialize(&SwitchVirtualGamepadHandler::InputThreadLoop, this, 0x3E).GetValue()); + R_TRY(m_inputThread.Initialize(&SwitchVirtualGamepadHandler::InputThreadLoop, this, 0x30).GetValue()); m_inputThreadIsRunning = true; return m_inputThread.Start().GetValue(); } @@ -48,7 +48,7 @@ void SwitchVirtualGamepadHandler::ExitInputThread() Result SwitchVirtualGamepadHandler::InitOutputThread() { - R_TRY(m_outputThread.Initialize(&SwitchVirtualGamepadHandler::OutputThreadLoop, this, 0x3E).GetValue()); + R_TRY(m_outputThread.Initialize(&SwitchVirtualGamepadHandler::OutputThreadLoop, this, 0x30).GetValue()); m_outputThreadIsRunning = true; return m_outputThread.Start().GetValue(); }