summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/acc
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2018-09-19 16:01:36 +0200
committerGitHub <noreply@github.com>2018-09-19 16:01:36 +0200
commit8dff92c5f685115837f66282dadba24dead13eb7 (patch)
tree7fe7b71650e56a9dabe7861cbf28c78cfd16eb5d /src/core/hle/service/acc
parentMerge pull request #1353 from ogniK5377/remove-MakeBuilder (diff)
parentFixed GetAccountId stub, Added error code for OpenDirectory and added ActivateNpadWithRevision (diff)
downloadyuzu-8dff92c5f685115837f66282dadba24dead13eb7.tar
yuzu-8dff92c5f685115837f66282dadba24dead13eb7.tar.gz
yuzu-8dff92c5f685115837f66282dadba24dead13eb7.tar.bz2
yuzu-8dff92c5f685115837f66282dadba24dead13eb7.tar.lz
yuzu-8dff92c5f685115837f66282dadba24dead13eb7.tar.xz
yuzu-8dff92c5f685115837f66282dadba24dead13eb7.tar.zst
yuzu-8dff92c5f685115837f66282dadba24dead13eb7.zip
Diffstat (limited to 'src/core/hle/service/acc')
-rw-r--r--src/core/hle/service/acc/acc.cpp9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/core/hle/service/acc/acc.cpp b/src/core/hle/service/acc/acc.cpp
index 4d4eb542e..e61748ca3 100644
--- a/src/core/hle/service/acc/acc.cpp
+++ b/src/core/hle/service/acc/acc.cpp
@@ -130,11 +130,10 @@ private:
void GetAccountId(Kernel::HLERequestContext& ctx) {
LOG_WARNING(Service_ACC, "(STUBBED) called");
- // TODO(Subv): Find out what this actually does and implement it. Stub it as an error for
- // now since we do not implement NNID. Returning a bogus id here will cause games to send
- // invalid IPC requests after ListOpenUsers is called.
- IPC::ResponseBuilder rb{ctx, 2};
- rb.Push(ResultCode(-1));
+ // Should return a nintendo account ID
+ IPC::ResponseBuilder rb{ctx, 4};
+ rb.Push(RESULT_SUCCESS);
+ rb.PushRaw<u64>(1);
}
};