diff options
author | german77 <juangerman-13@hotmail.com> | 2023-01-03 05:11:03 +0100 |
---|---|---|
committer | Narr the Reg <juangerman-13@hotmail.com> | 2023-01-20 01:05:22 +0100 |
commit | d05ea2f3ebdf62e328d2edbfc5b9bc01e3453569 (patch) | |
tree | 5863733770eb47f15aa528438e47a1cab2e794b4 /src/core/hle | |
parent | input_common: Implement joycon ir camera (diff) | |
download | yuzu-d05ea2f3ebdf62e328d2edbfc5b9bc01e3453569.tar yuzu-d05ea2f3ebdf62e328d2edbfc5b9bc01e3453569.tar.gz yuzu-d05ea2f3ebdf62e328d2edbfc5b9bc01e3453569.tar.bz2 yuzu-d05ea2f3ebdf62e328d2edbfc5b9bc01e3453569.tar.lz yuzu-d05ea2f3ebdf62e328d2edbfc5b9bc01e3453569.tar.xz yuzu-d05ea2f3ebdf62e328d2edbfc5b9bc01e3453569.tar.zst yuzu-d05ea2f3ebdf62e328d2edbfc5b9bc01e3453569.zip |
Diffstat (limited to 'src/core/hle')
-rw-r--r-- | src/core/hle/service/hid/irs.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/core/hle/service/hid/irs.cpp b/src/core/hle/service/hid/irs.cpp index 3c1fa2274..1a6fa2a44 100644 --- a/src/core/hle/service/hid/irs.cpp +++ b/src/core/hle/service/hid/irs.cpp @@ -74,8 +74,6 @@ void IRS::DeactivateIrsensor(Kernel::HLERequestContext& ctx) { LOG_WARNING(Service_IRS, "(STUBBED) called, applet_resource_user_id={}", applet_resource_user_id); - npad_device->SetPollingMode(Common::Input::PollingMode::Active); - IPC::ResponseBuilder rb{ctx, 2}; rb.Push(ResultSuccess); } @@ -514,7 +512,7 @@ void IRS::StopImageProcessorAsync(Kernel::HLERequestContext& ctx) { auto result = IsIrCameraHandleValid(parameters.camera_handle); if (result.IsSuccess()) { // TODO: Stop image processor async - npad_device->SetPollingMode(Common::Input::PollingMode::IR); + npad_device->SetPollingMode(Common::Input::PollingMode::Active); result = ResultSuccess; } |