diff options
author | liamwhite <liamwhite@users.noreply.github.com> | 2023-10-18 15:21:58 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-18 15:21:58 +0200 |
commit | 765ea9b79da007e9a070b9a61378b6802893d27b (patch) | |
tree | 5b02ec392798c57fde8bb8016c809da01e1e777e /src/core/hle/service/acc | |
parent | Merge pull request #11774 from liamwhite/refcount-issue (diff) | |
parent | service: hle: Allow to access read buffer A and X directly (diff) | |
download | yuzu-765ea9b79da007e9a070b9a61378b6802893d27b.tar yuzu-765ea9b79da007e9a070b9a61378b6802893d27b.tar.gz yuzu-765ea9b79da007e9a070b9a61378b6802893d27b.tar.bz2 yuzu-765ea9b79da007e9a070b9a61378b6802893d27b.tar.lz yuzu-765ea9b79da007e9a070b9a61378b6802893d27b.tar.xz yuzu-765ea9b79da007e9a070b9a61378b6802893d27b.tar.zst yuzu-765ea9b79da007e9a070b9a61378b6802893d27b.zip |
Diffstat (limited to 'src/core/hle/service/acc')
-rw-r--r-- | src/core/hle/service/acc/acc.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/core/hle/service/acc/acc.cpp b/src/core/hle/service/acc/acc.cpp index b7d14060c..1b1c8190e 100644 --- a/src/core/hle/service/acc/acc.cpp +++ b/src/core/hle/service/acc/acc.cpp @@ -407,13 +407,13 @@ protected: IPC::RequestParser rp{ctx}; const auto base = rp.PopRaw<ProfileBase>(); - const auto user_data = ctx.ReadBuffer(); - const auto image_data = ctx.ReadBuffer(1); + const auto image_data = ctx.ReadBufferA(0); + const auto user_data = ctx.ReadBufferX(0); - LOG_DEBUG(Service_ACC, "called, username='{}', timestamp={:016X}, uuid=0x{}", - Common::StringFromFixedZeroTerminatedBuffer( - reinterpret_cast<const char*>(base.username.data()), base.username.size()), - base.timestamp, base.user_uuid.RawString()); + LOG_INFO(Service_ACC, "called, username='{}', timestamp={:016X}, uuid=0x{}", + Common::StringFromFixedZeroTerminatedBuffer( + reinterpret_cast<const char*>(base.username.data()), base.username.size()), + base.timestamp, base.user_uuid.RawString()); if (user_data.size() < sizeof(UserData)) { LOG_ERROR(Service_ACC, "UserData buffer too small!"); |