VERY experimental Nintendo Switch 2 emulator
C++
hid: Stub out GetSupportedNpadStyleSet.
bunnei699d84abdaef
diff --git a/src/core/hle/service/hid/hid.cpp b/src/core/hle/service/hid/hid.cppindex a0b8c62432..f1936991cc 100644--- a/src/core/hle/service/hid/hid.cpp+++ b/src/core/hle/service/hid/hid.cpp@@ -185,6 +185,7 @@ public:{66, &Hid::StartSixAxisSensor, "StartSixAxisSensor"},{79, &Hid::SetGyroscopeZeroDriftMode, "SetGyroscopeZeroDriftMode"},{100, &Hid::SetSupportedNpadStyleSet, "SetSupportedNpadStyleSet"},+ {101, &Hid::GetSupportedNpadStyleSet, "GetSupportedNpadStyleSet"},{102, &Hid::SetSupportedNpadIdType, "SetSupportedNpadIdType"},{103, &Hid::ActivateNpad, "ActivateNpad"},{106, &Hid::AcquireNpadStyleSetUpdateEventHandle,@@ -265,6 +266,13 @@ private:LOG_WARNING(Service_HID, "(STUBBED) called");}+ void GetSupportedNpadStyleSet(Kernel::HLERequestContext& ctx) {+ IPC::ResponseBuilder rb{ctx, 3};+ rb.Push(RESULT_SUCCESS);+ rb.Push<u32>(0);+ LOG_WARNING(Service_HID, "(STUBBED) called");+ }+void SetSupportedNpadIdType(Kernel::HLERequestContext& ctx) {IPC::ResponseBuilder rb{ctx, 2};rb.Push(RESULT_SUCCESS);