2
1
Fork 0
mirror of https://github.com/yuzu-emu/yuzu.git synced 2024-07-04 23:31:19 +01:00

Merge pull request #3421 from namkazt/patch-1

IUserLocalCommunicationService: stub function Initialize2
This commit is contained in:
bunnei 2020-02-16 04:01:42 -05:00 committed by GitHub
commit af29e9d98e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -129,12 +129,20 @@ public:
{304, nullptr, "Disconnect"}, {304, nullptr, "Disconnect"},
{400, nullptr, "Initialize"}, {400, nullptr, "Initialize"},
{401, nullptr, "Finalize"}, {401, nullptr, "Finalize"},
{402, nullptr, "SetOperationMode"}, {402, &IUserLocalCommunicationService::Initialize2, "Initialize2"}, // 7.0.0+
}; };
// clang-format on // clang-format on
RegisterHandlers(functions); RegisterHandlers(functions);
} }
void Initialize2(Kernel::HLERequestContext& ctx) {
LOG_WARNING(Service_LDN, "(STUBBED) called");
// Result success seem make this services start network and continue.
// If we just pass result error then it will stop and maybe try again and again.
IPC::ResponseBuilder rb{ctx, 2};
rb.Push(RESULT_UNKNOWN);
}
}; };
class LDNS final : public ServiceFramework<LDNS> { class LDNS final : public ServiceFramework<LDNS> {