diff options
author | Lioncash <mathew1800@gmail.com> | 2018-09-26 00:14:29 +0200 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2018-09-26 02:06:21 +0200 |
commit | 1f92cbc059aaca13823c71a9279393661b050d34 (patch) | |
tree | 23582920dad6be14635dfcdfe0e116311dcc3e68 | |
parent | fsmitm_romfsbuild: Make auto variable into a std::size_t variable within Build() (diff) | |
download | yuzu-1f92cbc059aaca13823c71a9279393661b050d34.tar yuzu-1f92cbc059aaca13823c71a9279393661b050d34.tar.gz yuzu-1f92cbc059aaca13823c71a9279393661b050d34.tar.bz2 yuzu-1f92cbc059aaca13823c71a9279393661b050d34.tar.lz yuzu-1f92cbc059aaca13823c71a9279393661b050d34.tar.xz yuzu-1f92cbc059aaca13823c71a9279393661b050d34.tar.zst yuzu-1f92cbc059aaca13823c71a9279393661b050d34.zip |
Diffstat (limited to '')
-rw-r--r-- | src/core/file_sys/fsmitm_romfsbuild.cpp | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/core/file_sys/fsmitm_romfsbuild.cpp b/src/core/file_sys/fsmitm_romfsbuild.cpp index a8af5e14f..b8807e5ca 100644 --- a/src/core/file_sys/fsmitm_romfsbuild.cpp +++ b/src/core/file_sys/fsmitm_romfsbuild.cpp @@ -233,12 +233,6 @@ std::map<u64, VirtualFile> RomFSBuildContext::Build() { std::vector<u8> dir_table(dir_table_size); std::vector<u8> file_table(file_table_size); - // Clear out hash tables. - for (u32 i = 0; i < dir_hash_table_entry_count; i++) - dir_hash_table[i] = ROMFS_ENTRY_EMPTY; - for (u32 i = 0; i < file_hash_table_entry_count; i++) - file_hash_table[i] = ROMFS_ENTRY_EMPTY; - std::shared_ptr<RomFSBuildFileContext> cur_file; // Determine file offsets. |