aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/hle/service/hid/hid.cpp
diff options
context:
space:
mode:
authorKelebek1 <[email protected]>2022-07-10 08:29:37 +0100
committerKelebek1 <[email protected]>2022-07-10 08:29:37 +0100
commitb23c6b456c3fd09a4dd04c4174f784f73b7513bc (patch)
treec431a3b1ee04fb4da60e08ab21d78a5813e9b528 /src/core/hle/service/hid/hid.cpp
parent240650f6a6336df8d3eb11b410cdcd332d8ad562 (diff)
downloadyuzu-android-b23c6b456c3fd09a4dd04c4174f784f73b7513bc.tar.gz
yuzu-android-b23c6b456c3fd09a4dd04c4174f784f73b7513bc.zip
PR
Diffstat (limited to 'src/core/hle/service/hid/hid.cpp')
-rw-r--r--src/core/hle/service/hid/hid.cpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/core/hle/service/hid/hid.cpp b/src/core/hle/service/hid/hid.cpp
index 88fcd53ec..89bb12442 100644
--- a/src/core/hle/service/hid/hid.cpp
+++ b/src/core/hle/service/hid/hid.cpp
@@ -97,11 +97,10 @@ IAppletResource::IAppletResource(Core::System& system_,
return std::nullopt;
});
- system.CoreTiming().ScheduleLoopingEvent(std::chrono::nanoseconds(0), pad_update_ns,
- pad_update_event);
- system.CoreTiming().ScheduleLoopingEvent(std::chrono::nanoseconds(0), mouse_keyboard_update_ns,
+ system.CoreTiming().ScheduleLoopingEvent(pad_update_ns, pad_update_ns, pad_update_event);
+ system.CoreTiming().ScheduleLoopingEvent(mouse_keyboard_update_ns, mouse_keyboard_update_ns,
mouse_keyboard_update_event);
- system.CoreTiming().ScheduleLoopingEvent(std::chrono::nanoseconds(0), motion_update_ns,
+ system.CoreTiming().ScheduleLoopingEvent(motion_update_ns, motion_update_ns,
motion_update_event);
system.HIDCore().ReloadInputDevices();