diff options
| author | 2020-02-16 04:01:42 -0500 | |
|---|---|---|
| committer | 2020-02-16 04:01:42 -0500 | |
| commit | af29e9d98e9ffa12cb83625b423498fbb42db53d (patch) | |
| tree | ed4769e6ffccd64ed25397f423e1436092bac689 /src | |
| parent | Merge pull request #3419 from yuzu-emu/revert-3386-gpu-mem-interface (diff) | |
| parent | IUserLocalCommunicationService: add function Initialize2 (diff) | |
| download | yuzu-af29e9d98e9ffa12cb83625b423498fbb42db53d.tar.gz yuzu-af29e9d98e9ffa12cb83625b423498fbb42db53d.tar.xz yuzu-af29e9d98e9ffa12cb83625b423498fbb42db53d.zip | |
Merge pull request #3421 from namkazt/patch-1
IUserLocalCommunicationService: stub function Initialize2
Diffstat (limited to '')
| -rw-r--r-- | src/core/hle/service/ldn/ldn.cpp | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/src/core/hle/service/ldn/ldn.cpp b/src/core/hle/service/ldn/ldn.cpp index ed5059047..92adde6d4 100644 --- a/src/core/hle/service/ldn/ldn.cpp +++ b/src/core/hle/service/ldn/ldn.cpp | |||
| @@ -129,12 +129,20 @@ public: | |||
| 129 | {304, nullptr, "Disconnect"}, | 129 | {304, nullptr, "Disconnect"}, |
| 130 | {400, nullptr, "Initialize"}, | 130 | {400, nullptr, "Initialize"}, |
| 131 | {401, nullptr, "Finalize"}, | 131 | {401, nullptr, "Finalize"}, |
| 132 | {402, nullptr, "SetOperationMode"}, | 132 | {402, &IUserLocalCommunicationService::Initialize2, "Initialize2"}, // 7.0.0+ |
| 133 | }; | 133 | }; |
| 134 | // clang-format on | 134 | // clang-format on |
| 135 | 135 | ||
| 136 | RegisterHandlers(functions); | 136 | RegisterHandlers(functions); |
| 137 | } | 137 | } |
| 138 | |||
| 139 | void Initialize2(Kernel::HLERequestContext& ctx) { | ||
| 140 | LOG_WARNING(Service_LDN, "(STUBBED) called"); | ||
| 141 | // Result success seem make this services start network and continue. | ||
| 142 | // If we just pass result error then it will stop and maybe try again and again. | ||
| 143 | IPC::ResponseBuilder rb{ctx, 2}; | ||
| 144 | rb.Push(RESULT_UNKNOWN); | ||
| 145 | } | ||
| 138 | }; | 146 | }; |
| 139 | 147 | ||
| 140 | class LDNS final : public ServiceFramework<LDNS> { | 148 | class LDNS final : public ServiceFramework<LDNS> { |