early-access version 1720

This commit is contained in:
pineappleEA 2021-05-28 21:25:01 +02:00
parent 7106462ac5
commit be00e733fc
2 changed files with 11 additions and 2 deletions

View File

@ -1,7 +1,7 @@
yuzu emulator early access
=============
This is the source code for early-access 1719.
This is the source code for early-access 1720.
## Legal Notice

View File

@ -1770,7 +1770,7 @@ public:
{232, nullptr, "GetIrSensorState"},
{233, nullptr, "GetXcdHandleForNpadWithIrSensor"},
{301, nullptr, "ActivateNpadSystem"},
{303, nullptr, "ApplyNpadSystemCommonPolicy"},
{303, &HidSys::ApplyNpadSystemCommonPolicy, "ApplyNpadSystemCommonPolicy"},
{304, nullptr, "EnableAssigningSingleOnSlSrPress"},
{305, nullptr, "DisableAssigningSingleOnSlSrPress"},
{306, nullptr, "GetLastActiveNpad"},
@ -1949,6 +1949,15 @@ public:
RegisterHandlers(functions);
}
private:
void ApplyNpadSystemCommonPolicy(Kernel::HLERequestContext& ctx) {
// We already do this for homebrew so we can just stub it out
LOG_WARNING(Service_HID, "called");
IPC::ResponseBuilder rb{ctx, 2};
rb.Push(RESULT_SUCCESS);
}
};
class HidTmp final : public ServiceFramework<HidTmp> {