summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/am/am.cpp
diff options
context:
space:
mode:
authorSebastian Valle <subv2112@gmail.com>2018-06-06 15:29:12 +0200
committerGitHub <noreply@github.com>2018-06-06 15:29:12 +0200
commit2f842a86fe958ef56d01f8d579b164f7f0693da1 (patch)
tree65c8ea95f8cccac54910a9a58dfe4b43f43d9330 /src/core/hle/service/am/am.cpp
parentMerge pull request #531 from bunnei/fix-shl (diff)
parentnifm: Stub out IRequest::SetConnectionConfirmationOption. (diff)
downloadyuzu-2f842a86fe958ef56d01f8d579b164f7f0693da1.tar
yuzu-2f842a86fe958ef56d01f8d579b164f7f0693da1.tar.gz
yuzu-2f842a86fe958ef56d01f8d579b164f7f0693da1.tar.bz2
yuzu-2f842a86fe958ef56d01f8d579b164f7f0693da1.tar.lz
yuzu-2f842a86fe958ef56d01f8d579b164f7f0693da1.tar.xz
yuzu-2f842a86fe958ef56d01f8d579b164f7f0693da1.tar.zst
yuzu-2f842a86fe958ef56d01f8d579b164f7f0693da1.zip
Diffstat (limited to 'src/core/hle/service/am/am.cpp')
-rw-r--r--src/core/hle/service/am/am.cpp13
1 files changed, 12 insertions, 1 deletions
diff --git a/src/core/hle/service/am/am.cpp b/src/core/hle/service/am/am.cpp
index 12954556d..b8d6b8d4d 100644
--- a/src/core/hle/service/am/am.cpp
+++ b/src/core/hle/service/am/am.cpp
@@ -561,7 +561,7 @@ IApplicationFunctions::IApplicationFunctions() : ServiceFramework("IApplicationF
{32, nullptr, "BeginBlockingHomeButton"},
{33, nullptr, "EndBlockingHomeButton"},
{40, &IApplicationFunctions::NotifyRunning, "NotifyRunning"},
- {50, nullptr, "GetPseudoDeviceId"},
+ {50, &IApplicationFunctions::GetPseudoDeviceId, "GetPseudoDeviceId"},
{60, nullptr, "SetMediaPlaybackStateForApplication"},
{65, nullptr, "IsGamePlayRecordingSupported"},
{66, &IApplicationFunctions::InitializeGamePlayRecording, "InitializeGamePlayRecording"},
@@ -684,6 +684,17 @@ void IApplicationFunctions::NotifyRunning(Kernel::HLERequestContext& ctx) {
NGLOG_WARNING(Service_AM, "(STUBBED) called");
}
+void IApplicationFunctions::GetPseudoDeviceId(Kernel::HLERequestContext& ctx) {
+ IPC::ResponseBuilder rb{ctx, 6};
+ rb.Push(RESULT_SUCCESS);
+
+ // Returns a 128-bit UUID
+ rb.Push<u64>(0);
+ rb.Push<u64>(0);
+
+ NGLOG_WARNING(Service_AM, "(STUBBED) called");
+}
+
void InstallInterfaces(SM::ServiceManager& service_manager,
std::shared_ptr<NVFlinger::NVFlinger> nvflinger) {
std::make_shared<AppletAE>(nvflinger)->InstallAsService(service_manager);