diff options
-rwxr-xr-x | README.md | 2 | ||||
-rwxr-xr-x | src/core/hle/service/hid/hid.cpp | 11 |
2 files changed, 11 insertions, 2 deletions
@@ -1,7 +1,7 @@ | |||
1 | yuzu emulator early access | 1 | yuzu emulator early access |
2 | ============= | 2 | ============= |
3 | 3 | ||
4 | This is the source code for early-access 1719. | 4 | This is the source code for early-access 1720. |
5 | 5 | ||
6 | ## Legal Notice | 6 | ## Legal Notice |
7 | 7 | ||
diff --git a/src/core/hle/service/hid/hid.cpp b/src/core/hle/service/hid/hid.cpp index 49c17fd14..df0fe1c8e 100755 --- a/src/core/hle/service/hid/hid.cpp +++ b/src/core/hle/service/hid/hid.cpp | |||
@@ -1770,7 +1770,7 @@ public: | |||
1770 | {232, nullptr, "GetIrSensorState"}, | 1770 | {232, nullptr, "GetIrSensorState"}, |
1771 | {233, nullptr, "GetXcdHandleForNpadWithIrSensor"}, | 1771 | {233, nullptr, "GetXcdHandleForNpadWithIrSensor"}, |
1772 | {301, nullptr, "ActivateNpadSystem"}, | 1772 | {301, nullptr, "ActivateNpadSystem"}, |
1773 | {303, nullptr, "ApplyNpadSystemCommonPolicy"}, | 1773 | {303, &HidSys::ApplyNpadSystemCommonPolicy, "ApplyNpadSystemCommonPolicy"}, |
1774 | {304, nullptr, "EnableAssigningSingleOnSlSrPress"}, | 1774 | {304, nullptr, "EnableAssigningSingleOnSlSrPress"}, |
1775 | {305, nullptr, "DisableAssigningSingleOnSlSrPress"}, | 1775 | {305, nullptr, "DisableAssigningSingleOnSlSrPress"}, |
1776 | {306, nullptr, "GetLastActiveNpad"}, | 1776 | {306, nullptr, "GetLastActiveNpad"}, |
@@ -1949,6 +1949,15 @@ public: | |||
1949 | 1949 | ||
1950 | RegisterHandlers(functions); | 1950 | RegisterHandlers(functions); |
1951 | } | 1951 | } |
1952 | |||
1953 | private: | ||
1954 | void ApplyNpadSystemCommonPolicy(Kernel::HLERequestContext& ctx) { | ||
1955 | // We already do this for homebrew so we can just stub it out | ||
1956 | LOG_WARNING(Service_HID, "called"); | ||
1957 | |||
1958 | IPC::ResponseBuilder rb{ctx, 2}; | ||
1959 | rb.Push(RESULT_SUCCESS); | ||
1960 | } | ||
1952 | }; | 1961 | }; |
1953 | 1962 | ||
1954 | class HidTmp final : public ServiceFramework<HidTmp> { | 1963 | class HidTmp final : public ServiceFramework<HidTmp> { |