summaryrefslogtreecommitdiffstats
path: root/src/core/file_sys/fsmitm_romfsbuild.cpp
diff options
context:
space:
mode:
authorMorph <39850852+Morph1984@users.noreply.github.com>2020-07-12 10:31:01 +0200
committerMorph <39850852+Morph1984@users.noreply.github.com>2020-07-12 10:33:35 +0200
commitfd1c3aa14ebda34687b7a4e4e58e1836f7394df8 (patch)
tree5da6c5aa9a03bbe13c37776e3c7f6f2995e474ed /src/core/file_sys/fsmitm_romfsbuild.cpp
parentMerge pull request #4275 from CrazyMax/desired_language (diff)
downloadyuzu-fd1c3aa14ebda34687b7a4e4e58e1836f7394df8.tar
yuzu-fd1c3aa14ebda34687b7a4e4e58e1836f7394df8.tar.gz
yuzu-fd1c3aa14ebda34687b7a4e4e58e1836f7394df8.tar.bz2
yuzu-fd1c3aa14ebda34687b7a4e4e58e1836f7394df8.tar.lz
yuzu-fd1c3aa14ebda34687b7a4e4e58e1836f7394df8.tar.xz
yuzu-fd1c3aa14ebda34687b7a4e4e58e1836f7394df8.tar.zst
yuzu-fd1c3aa14ebda34687b7a4e4e58e1836f7394df8.zip
Diffstat (limited to 'src/core/file_sys/fsmitm_romfsbuild.cpp')
-rw-r--r--src/core/file_sys/fsmitm_romfsbuild.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/file_sys/fsmitm_romfsbuild.cpp b/src/core/file_sys/fsmitm_romfsbuild.cpp
index d126ae8dd..2aff2708a 100644
--- a/src/core/file_sys/fsmitm_romfsbuild.cpp
+++ b/src/core/file_sys/fsmitm_romfsbuild.cpp
@@ -240,7 +240,7 @@ RomFSBuildContext::RomFSBuildContext(VirtualDir base_, VirtualDir ext_)
RomFSBuildContext::~RomFSBuildContext() = default;
-std::map<u64, VirtualFile> RomFSBuildContext::Build() {
+std::multimap<u64, VirtualFile> RomFSBuildContext::Build() {
const u64 dir_hash_table_entry_count = romfs_get_hash_table_count(num_dirs);
const u64 file_hash_table_entry_count = romfs_get_hash_table_count(num_files);
dir_hash_table_size = 4 * dir_hash_table_entry_count;
@@ -294,7 +294,7 @@ std::map<u64, VirtualFile> RomFSBuildContext::Build() {
cur_dir->parent->child = cur_dir;
}
- std::map<u64, VirtualFile> out;
+ std::multimap<u64, VirtualFile> out;
// Populate file tables.
for (const auto& it : files) {