summaryrefslogtreecommitdiff
path: root/Source/Core/DiscIO/FileSystemGCWii.cpp
diff options
context:
space:
mode:
authorJosJuice <josjuice@gmail.com>2017-08-01 19:21:38 +0200
committerJosJuice <josjuice@gmail.com>2017-08-01 21:58:04 +0200
commit6b0a60d2ee24f3a7dde6eb97f22623696807651e (patch)
tree76bebb87fe0755024bbaa6e742b2d20613e8834a /Source/Core/DiscIO/FileSystemGCWii.cpp
parent78fa98f5593ec61a505a56d89984e41885715313 (diff)
DirectoryBlob: Don't add DiscContents with size 0
Having DiscContents with size 0 would mean that some DiscContents might not get added to the std::set because of them comparing identically to another DiscContent. This replaces an older piece of code in WriteDirectory that ensures that no two files have the same starting offset. (We now care about the ending offset, not the starting offset. The new solution both ensures that no two files have the same ending offset and that no two files have the same starting offset.)
Diffstat (limited to 'Source/Core/DiscIO/FileSystemGCWii.cpp')
0 files changed, 0 insertions, 0 deletions