summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/acc/acc.cpp
diff options
context:
space:
mode:
authorDavid Marcec <dmarcecguzman@gmail.com>2018-09-19 15:25:00 +0200
committerDavid Marcec <dmarcecguzman@gmail.com>2018-09-19 15:25:00 +0200
commitcbc7ad8f6d1c122797f016eba5bbf4898fbf20d3 (patch)
tree6e02225be2f9c3abdd69392a3aa0812a2f534da4 /src/core/hle/service/acc/acc.cpp
parentMerge pull request #1348 from ogniK5377/GetImageSize (diff)
downloadyuzu-cbc7ad8f6d1c122797f016eba5bbf4898fbf20d3.tar
yuzu-cbc7ad8f6d1c122797f016eba5bbf4898fbf20d3.tar.gz
yuzu-cbc7ad8f6d1c122797f016eba5bbf4898fbf20d3.tar.bz2
yuzu-cbc7ad8f6d1c122797f016eba5bbf4898fbf20d3.tar.lz
yuzu-cbc7ad8f6d1c122797f016eba5bbf4898fbf20d3.tar.xz
yuzu-cbc7ad8f6d1c122797f016eba5bbf4898fbf20d3.tar.zst
yuzu-cbc7ad8f6d1c122797f016eba5bbf4898fbf20d3.zip
Diffstat (limited to 'src/core/hle/service/acc/acc.cpp')
-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);
}
};