diff options
author | rkfg <rkfg@rkfg.me> | 2023-09-21 04:12:05 +0200 |
---|---|---|
committer | rkfg <rkfg@rkfg.me> | 2023-09-21 04:12:05 +0200 |
commit | 753bc3a448108f2dc55400949cc45653643f6d27 (patch) | |
tree | 09d0cc0329f191fa667b787bf3b9648ffc444837 /src/core/file_sys | |
parent | Merge pull request #11551 from t895/allow-save-imports-always (diff) | |
download | yuzu-753bc3a448108f2dc55400949cc45653643f6d27.tar yuzu-753bc3a448108f2dc55400949cc45653643f6d27.tar.gz yuzu-753bc3a448108f2dc55400949cc45653643f6d27.tar.bz2 yuzu-753bc3a448108f2dc55400949cc45653643f6d27.tar.lz yuzu-753bc3a448108f2dc55400949cc45653643f6d27.tar.xz yuzu-753bc3a448108f2dc55400949cc45653643f6d27.tar.zst yuzu-753bc3a448108f2dc55400949cc45653643f6d27.zip |
Diffstat (limited to 'src/core/file_sys')
-rw-r--r-- | src/core/file_sys/partition_filesystem.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/file_sys/partition_filesystem.cpp b/src/core/file_sys/partition_filesystem.cpp index 2527ae606..2422cb51b 100644 --- a/src/core/file_sys/partition_filesystem.cpp +++ b/src/core/file_sys/partition_filesystem.cpp @@ -47,6 +47,7 @@ PartitionFilesystem::PartitionFilesystem(VirtualFile file) { // Actually read in now... std::vector<u8> file_data = file->ReadBytes(metadata_size); const std::size_t total_size = file_data.size(); + file_data.push_back(0); if (total_size != metadata_size) { status = Loader::ResultStatus::ErrorIncorrectPFSFileSize; |