summaryrefslogtreecommitdiffstats
path: root/src/core
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2020-02-16 10:01:42 +0100
committerGitHub <noreply@github.com>2020-02-16 10:01:42 +0100
commitaf29e9d98e9ffa12cb83625b423498fbb42db53d (patch)
treeed4769e6ffccd64ed25397f423e1436092bac689 /src/core
parentMerge pull request #3419 from yuzu-emu/revert-3386-gpu-mem-interface (diff)
parentIUserLocalCommunicationService: add function Initialize2 (diff)
downloadyuzu-af29e9d98e9ffa12cb83625b423498fbb42db53d.tar
yuzu-af29e9d98e9ffa12cb83625b423498fbb42db53d.tar.gz
yuzu-af29e9d98e9ffa12cb83625b423498fbb42db53d.tar.bz2
yuzu-af29e9d98e9ffa12cb83625b423498fbb42db53d.tar.lz
yuzu-af29e9d98e9ffa12cb83625b423498fbb42db53d.tar.xz
yuzu-af29e9d98e9ffa12cb83625b423498fbb42db53d.tar.zst
yuzu-af29e9d98e9ffa12cb83625b423498fbb42db53d.zip
Diffstat (limited to 'src/core')
-rw-r--r--src/core/hle/service/ldn/ldn.cpp10
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:
{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> {