diff options
| author | 2023-10-14 21:19:22 -0600 | |
|---|---|---|
| committer | 2023-10-16 23:36:46 -0600 | |
| commit | c73bb33ff138e72c134f1fedbd9fb59c50c6bf62 (patch) | |
| tree | 74b12cbf901ef4fbf1ca78d390285d6e9a8ab6c4 /src/core/hle/service/acc | |
| parent | Improvement in Directory Path Detection for Shortcuts (#11749) (diff) | |
| download | yuzu-c73bb33ff138e72c134f1fedbd9fb59c50c6bf62.tar.gz yuzu-c73bb33ff138e72c134f1fedbd9fb59c50c6bf62.tar.xz yuzu-c73bb33ff138e72c134f1fedbd9fb59c50c6bf62.zip | |
service: hle: Allow to access read buffer A and X directly
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 b971401e6..3fe7e565c 100644 --- a/src/core/hle/service/acc/acc.cpp +++ b/src/core/hle/service/acc/acc.cpp | |||
| @@ -400,13 +400,13 @@ protected: | |||
| 400 | IPC::RequestParser rp{ctx}; | 400 | IPC::RequestParser rp{ctx}; |
| 401 | const auto base = rp.PopRaw<ProfileBase>(); | 401 | const auto base = rp.PopRaw<ProfileBase>(); |
| 402 | 402 | ||
| 403 | const auto user_data = ctx.ReadBuffer(); | 403 | const auto image_data = ctx.ReadBufferA(0); |
| 404 | const auto image_data = ctx.ReadBuffer(1); | 404 | const auto user_data = ctx.ReadBufferX(0); |
| 405 | 405 | ||
| 406 | LOG_DEBUG(Service_ACC, "called, username='{}', timestamp={:016X}, uuid=0x{}", | 406 | LOG_INFO(Service_ACC, "called, username='{}', timestamp={:016X}, uuid=0x{}", |
| 407 | Common::StringFromFixedZeroTerminatedBuffer( | 407 | Common::StringFromFixedZeroTerminatedBuffer( |
| 408 | reinterpret_cast<const char*>(base.username.data()), base.username.size()), | 408 | reinterpret_cast<const char*>(base.username.data()), base.username.size()), |
| 409 | base.timestamp, base.user_uuid.RawString()); | 409 | base.timestamp, base.user_uuid.RawString()); |
| 410 | 410 | ||
| 411 | if (user_data.size() < sizeof(UserData)) { | 411 | if (user_data.size() < sizeof(UserData)) { |
| 412 | LOG_ERROR(Service_ACC, "UserData buffer too small!"); | 412 | LOG_ERROR(Service_ACC, "UserData buffer too small!"); |