diff options
| author | 2020-07-12 04:31:01 -0400 | |
|---|---|---|
| committer | 2020-07-12 04:33:35 -0400 | |
| commit | fd1c3aa14ebda34687b7a4e4e58e1836f7394df8 (patch) | |
| tree | 5da6c5aa9a03bbe13c37776e3c7f6f2995e474ed /src/common/zstd_compression.cpp | |
| parent | Merge pull request #4275 from CrazyMax/desired_language (diff) | |
| download | yuzu-fd1c3aa14ebda34687b7a4e4e58e1836f7394df8.tar.gz yuzu-fd1c3aa14ebda34687b7a4e4e58e1836f7394df8.tar.xz yuzu-fd1c3aa14ebda34687b7a4e4e58e1836f7394df8.zip | |
fs: Fix RomFS building when zero byte files are present
When zero byte files are present, the key (offset) for that file is identical to the file right after. A std::map isn't able to fit key-value pairs with identical keys (offsets), therefore, the solution is to use std::multimap which permits multiple entries with the same key.
This most prominently fixes Pokemon Sword and Shield weather with any RomFS mod applied.
Diffstat (limited to 'src/common/zstd_compression.cpp')
0 files changed, 0 insertions, 0 deletions