From b3cd3d3048048b8708cbf65c10211b4f77b638cd Mon Sep 17 00:00:00 2001 From: pineappleEA Date: Thu, 20 Jan 2022 01:18:39 +0100 Subject: [PATCH] early-access version 2419 --- README.md | 2 +- src/core/hle/service/hid/hid.cpp | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index c72213491..11848aceb 100755 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ yuzu emulator early access ============= -This is the source code for early-access 2418. +This is the source code for early-access 2419. ## Legal Notice diff --git a/src/core/hle/service/hid/hid.cpp b/src/core/hle/service/hid/hid.cpp index fef07006f..94fbca53a 100755 --- a/src/core/hle/service/hid/hid.cpp +++ b/src/core/hle/service/hid/hid.cpp @@ -1177,7 +1177,8 @@ void Hid::SetNpadAnalogStickUseCenterClamp(Kernel::HLERequestContext& ctx) { const auto parameters{rp.PopRaw()}; - applet_resource->GetController(HidController::NPad) + GetAppletResource() + ->GetController(HidController::NPad) .SetAnalogStickUseCenterClamp(parameters.analog_stick_use_center_clamp); LOG_WARNING(Service_HID,