summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/am/am.cpp
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2023-02-04 00:42:18 +0100
committerGitHub <noreply@github.com>2023-02-04 00:42:18 +0100
commit193b513bf544c5dab80d1a849ce62e59e872cd3a (patch)
tree665e83a9b6a747f25b30de50350abec1f68d110f /src/core/hle/service/am/am.cpp
parentMerge pull request #9713 from unfamiliarplace/master (diff)
parentfsp_srv: Copy HLE Read Buffer for OutputAccessLogToSdCard (diff)
downloadyuzu-193b513bf544c5dab80d1a849ce62e59e872cd3a.tar
yuzu-193b513bf544c5dab80d1a849ce62e59e872cd3a.tar.gz
yuzu-193b513bf544c5dab80d1a849ce62e59e872cd3a.tar.bz2
yuzu-193b513bf544c5dab80d1a849ce62e59e872cd3a.tar.lz
yuzu-193b513bf544c5dab80d1a849ce62e59e872cd3a.tar.xz
yuzu-193b513bf544c5dab80d1a849ce62e59e872cd3a.tar.zst
yuzu-193b513bf544c5dab80d1a849ce62e59e872cd3a.zip
Diffstat (limited to '')
-rw-r--r--src/core/hle/service/am/am.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/hle/service/am/am.cpp b/src/core/hle/service/am/am.cpp
index 22999c942..ebcf6e164 100644
--- a/src/core/hle/service/am/am.cpp
+++ b/src/core/hle/service/am/am.cpp
@@ -1124,7 +1124,7 @@ void IStorageAccessor::Write(Kernel::HLERequestContext& ctx) {
IPC::RequestParser rp{ctx};
const u64 offset{rp.Pop<u64>()};
- const std::vector<u8> data{ctx.ReadBuffer()};
+ const auto data{ctx.ReadBuffer()};
const std::size_t size{std::min<u64>(data.size(), backing.GetSize() - offset)};
LOG_DEBUG(Service_AM, "called, offset={}, size={}", offset, size);