summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNarr the Reg <juangerman-13@hotmail.com>2022-01-13 05:55:33 +0100
committerGitHub <noreply@github.com>2022-01-13 05:55:33 +0100
commit8185509683c31da16383311ccd7a26eb37598031 (patch)
tree805e2fea0ae38c630c9f7808c6f279c55a7d6294
parentMerge pull request #7697 from abouvier/opt-tests (diff)
downloadyuzu-8185509683c31da16383311ccd7a26eb37598031.tar
yuzu-8185509683c31da16383311ccd7a26eb37598031.tar.gz
yuzu-8185509683c31da16383311ccd7a26eb37598031.tar.bz2
yuzu-8185509683c31da16383311ccd7a26eb37598031.tar.lz
yuzu-8185509683c31da16383311ccd7a26eb37598031.tar.xz
yuzu-8185509683c31da16383311ccd7a26eb37598031.tar.zst
yuzu-8185509683c31da16383311ccd7a26eb37598031.zip
-rw-r--r--src/core/hle/service/hid/hid.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/core/hle/service/hid/hid.cpp b/src/core/hle/service/hid/hid.cpp
index 6e12381fb..84da38b3b 100644
--- a/src/core/hle/service/hid/hid.cpp
+++ b/src/core/hle/service/hid/hid.cpp
@@ -37,7 +37,8 @@ namespace Service::HID {
// Period time is obtained by measuring the number of samples in a second on HW using a homebrew
constexpr auto pad_update_ns = std::chrono::nanoseconds{4 * 1000 * 1000}; // (4ms, 250Hz)
constexpr auto mouse_keyboard_update_ns = std::chrono::nanoseconds{8 * 1000 * 1000}; // (8ms, 125Hz)
-constexpr auto motion_update_ns = std::chrono::nanoseconds{5 * 1000 * 1000}; // (5ms, 200Hz)
+// TODO: Correct update rate for motion is 5ms. Check why some games don't behave at that speed
+constexpr auto motion_update_ns = std::chrono::nanoseconds{10 * 1000 * 1000}; // (10ms, 100Hz)
constexpr std::size_t SHARED_MEMORY_SIZE = 0x40000;
IAppletResource::IAppletResource(Core::System& system_,