diff options
author | Lioncash <mathew1800@gmail.com> | 2018-09-26 00:10:47 +0200 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2018-09-26 02:06:21 +0200 |
commit | fa9e0f9c8bf3c14e424d386ec85019e9498f7f12 (patch) | |
tree | c6c7025e045448628557a4025e7bfa508b0450f6 /src/core | |
parent | yuzu/main: Resolve precedence bug within CalculateRomFSEntrySize() (diff) | |
download | yuzu-fa9e0f9c8bf3c14e424d386ec85019e9498f7f12.tar yuzu-fa9e0f9c8bf3c14e424d386ec85019e9498f7f12.tar.gz yuzu-fa9e0f9c8bf3c14e424d386ec85019e9498f7f12.tar.bz2 yuzu-fa9e0f9c8bf3c14e424d386ec85019e9498f7f12.tar.lz yuzu-fa9e0f9c8bf3c14e424d386ec85019e9498f7f12.tar.xz yuzu-fa9e0f9c8bf3c14e424d386ec85019e9498f7f12.tar.zst yuzu-fa9e0f9c8bf3c14e424d386ec85019e9498f7f12.zip |
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/file_sys/fsmitm_romfsbuild.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/file_sys/fsmitm_romfsbuild.cpp b/src/core/file_sys/fsmitm_romfsbuild.cpp index 16172445a..a8af5e14f 100644 --- a/src/core/file_sys/fsmitm_romfsbuild.cpp +++ b/src/core/file_sys/fsmitm_romfsbuild.cpp @@ -355,7 +355,7 @@ std::map<u64, VirtualFile> RomFSBuildContext::Build() { std::vector<u8> metadata(file_hash_table_size + file_table_size + dir_hash_table_size + dir_table_size); - auto index = 0; + std::size_t index = 0; std::memcpy(metadata.data(), dir_hash_table.data(), dir_hash_table.size() * sizeof(u32)); index += dir_hash_table.size() * sizeof(u32); std::memcpy(metadata.data() + index, dir_table.data(), dir_table.size()); |