diff options
author | Lioncash <mathew1800@gmail.com> | 2018-07-21 03:51:28 +0200 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2018-07-21 03:51:30 +0200 |
commit | 894b0de0f2cd15655726ae885b44b030711328a3 (patch) | |
tree | 7dda073351a806d63cdf9ad04f08a4a54173bcb8 /src/core/file_sys/vfs_offset.cpp | |
parent | vfs: Use variable template variants of std::is_trivially_copyable (diff) | |
download | yuzu-894b0de0f2cd15655726ae885b44b030711328a3.tar yuzu-894b0de0f2cd15655726ae885b44b030711328a3.tar.gz yuzu-894b0de0f2cd15655726ae885b44b030711328a3.tar.bz2 yuzu-894b0de0f2cd15655726ae885b44b030711328a3.tar.lz yuzu-894b0de0f2cd15655726ae885b44b030711328a3.tar.xz yuzu-894b0de0f2cd15655726ae885b44b030711328a3.tar.zst yuzu-894b0de0f2cd15655726ae885b44b030711328a3.zip |
Diffstat (limited to 'src/core/file_sys/vfs_offset.cpp')
-rw-r--r-- | src/core/file_sys/vfs_offset.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/file_sys/vfs_offset.cpp b/src/core/file_sys/vfs_offset.cpp index 31fdd9aa1..38ec4e0f9 100644 --- a/src/core/file_sys/vfs_offset.cpp +++ b/src/core/file_sys/vfs_offset.cpp @@ -75,7 +75,7 @@ bool OffsetVfsFile::WriteByte(u8 data, size_t r_offset) { return false; } -size_t OffsetVfsFile::WriteBytes(std::vector<u8> data, size_t r_offset) { +size_t OffsetVfsFile::WriteBytes(const std::vector<u8>& data, size_t r_offset) { return file->Write(data.data(), TrimToFit(data.size(), r_offset), offset + r_offset); } |