Browse Source
Merge pull request #3421 from namkazt/patch-1
IUserLocalCommunicationService: stub function Initialize2
pull/15/merge
bunnei
6 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
9 additions and
1 deletions
-
src/core/hle/service/ldn/ldn.cpp
|
|
|
@ -129,12 +129,20 @@ public: |
|
|
|
{304, nullptr, "Disconnect"}, |
|
|
|
{400, nullptr, "Initialize"}, |
|
|
|
{401, nullptr, "Finalize"}, |
|
|
|
{402, nullptr, "SetOperationMode"}, |
|
|
|
{402, &IUserLocalCommunicationService::Initialize2, "Initialize2"}, // 7.0.0+
|
|
|
|
}; |
|
|
|
// clang-format on
|
|
|
|
|
|
|
|
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> { |
|
|
|
|