dolphin-emulator/Source/Core/DiscIO
JosJuice cefc2a7baa DiscIO: Fix edge case where blocks could get scrubbed accidentally
If we start 31 KiB into a 32 KiB block and want to mark 2 KiB
of data as used, we need to mark 2 blocks as used, not just 1.

This problem is avoided when calling MarkAsUsed from
MarkAsUsedE, since MarkAsUsedE aligns to 32 KiB on its own.
Most calls to MarkAsUsed are from MarkAsUsedE, which is why
this hasn't been a noticeable problem in the past.
2020-04-24 15:10:36 +02:00
..
Blob.cpp DiscIO: Add out of bounds checks for blob reading 2020-01-14 18:59:31 +01:00
Blob.h DiscIO: Allow converting from formats other than ISO and GCZ 2020-04-24 15:10:35 +02:00
CISOBlob.cpp DiscIO: Fix CISOFileReader::GetDataSize() 2020-01-22 18:57:50 +01:00
CISOBlob.h DiscIO: Allow converting from formats other than ISO and GCZ 2020-04-24 15:10:35 +02:00
CMakeLists.txt DiscIO: Implement re-encryption of Wii partition data 2020-04-24 14:24:12 +02:00
CompressedBlob.cpp Move DiscIO::ConvertToPlain to FileBlob.cpp 2020-04-24 15:10:35 +02:00
CompressedBlob.h DiscIO: Allow converting from formats other than ISO and GCZ 2020-04-24 15:10:35 +02:00
DirectoryBlob.cpp DiscIO: Implement re-encryption of Wii partition data 2020-04-24 14:24:12 +02:00
DirectoryBlob.h DiscIO: Implement re-encryption of Wii partition data 2020-04-24 14:24:12 +02:00
DiscExtractor.cpp DiscIO: cleanup warnings of -Wmaybe-uninitialized 2020-03-23 14:14:00 +08:00
DiscExtractor.h DiscIO: Use std::string_view in FileSystem::FindFileInfo 2019-05-29 08:29:56 +02:00
DiscIO.vcxproj DiscIO: Implement re-encryption of Wii partition data 2020-04-24 14:24:12 +02:00
DiscIO.vcxproj.filters DiscIO: Implement re-encryption of Wii partition data 2020-04-24 14:24:12 +02:00
DiscScrubber.cpp DiscIO: Fix edge case where blocks could get scrubbed accidentally 2020-04-24 15:10:36 +02:00
DiscScrubber.h DiscIO: Allow converting from formats other than ISO and GCZ 2020-04-24 15:10:35 +02:00
DriveBlob.cpp Reformat repo to clang-format 7.0 rules 2019-05-06 18:48:04 +00:00
DriveBlob.h DiscIO: Allow converting from formats other than ISO and GCZ 2020-04-24 15:10:35 +02:00
Enums.cpp GetSysMenuVersionString(): Use a char instead of std::string for the region letter. 2019-12-29 23:45:02 -05:00
Enums.h Also override the SYSCONF country setting 2019-08-09 17:33:05 +02:00
FileBlob.cpp Move DiscIO::ConvertToPlain to FileBlob.cpp 2020-04-24 15:10:35 +02:00
FileBlob.h Reformat repo to clang-format 7.0 rules 2019-05-06 18:48:04 +00:00
Filesystem.cpp Qt/FilesystemWidget: Add size column 2018-06-02 18:59:56 +02:00
Filesystem.h DiscIO: Avoid copies when comparing FileSystemGCWii file names 2019-05-29 14:53:39 +02:00
FileSystemGCWii.cpp DiscIO: Add functions CreateDisc and CreateWAD 2019-07-18 22:29:04 +02:00
FileSystemGCWii.h DiscIO: Add functions CreateDisc and CreateWAD 2019-07-18 22:29:04 +02:00
NANDImporter.cpp Reformat repo to clang-format 7.0 rules 2019-05-06 18:48:04 +00:00
NANDImporter.h Reformat repo to clang-format 7.0 rules 2019-05-06 18:48:04 +00:00
TGCBlob.cpp Reformat repo to clang-format 7.0 rules 2019-05-06 18:48:04 +00:00
TGCBlob.h DiscIO: Add way of checking whether blob data size is accurate 2019-03-30 12:45:17 +01:00
Volume.cpp DiscIO: Add functions CreateDisc and CreateWAD 2019-07-18 22:29:04 +02:00
Volume.h Fix several warnings 2020-01-04 12:11:39 +01:00
VolumeFileBlobReader.cpp DiscIO: Use std::string_view in FileSystem::FindFileInfo 2019-05-29 08:29:56 +02:00
VolumeFileBlobReader.h DiscIO: Use std::string_view in FileSystem::FindFileInfo 2019-05-29 08:29:56 +02:00
VolumeGC.cpp Return nothing from VolumeWii::GetGameTDBID if Datel 2019-10-30 10:23:33 +01:00
VolumeGC.h DiscIO: Add functions CreateDisc and CreateWAD 2019-07-18 22:29:04 +02:00
VolumeVerifier.cpp DiscIO: Allow converting from formats other than ISO and GCZ 2020-04-24 15:10:35 +02:00
VolumeVerifier.h VolumeVerifier: Ignore invalid partitions in GetBiggestReferencedOffset 2020-02-09 19:05:44 +01:00
VolumeWad.cpp StringUtil: Add IsPrintableCharacter and use it 2020-01-16 00:22:26 +01:00
VolumeWad.h VolumeVerifier: Don't read data multiple times 2019-08-06 16:32:01 +02:00
VolumeWii.cpp DiscIO: Use a struct for Wii hashes 2020-04-24 14:44:29 +02:00
VolumeWii.h DiscIO: Use a struct for Wii hashes 2020-04-24 14:44:29 +02:00
WbfsBlob.cpp DiscIO: Add out of bounds checks for blob reading 2020-01-14 18:59:31 +01:00
WbfsBlob.h DiscIO: Allow converting from formats other than ISO and GCZ 2020-04-24 15:10:35 +02:00
WiiEncryptionCache.cpp DiscIO: Implement re-encryption of Wii partition data 2020-04-24 14:24:12 +02:00
WiiEncryptionCache.h DiscIO: Implement re-encryption of Wii partition data 2020-04-24 14:24:12 +02:00
WiiSaveBanner.cpp Common/CommonFuncs: Remove now-unneccessary ArraySize function 2019-06-01 10:07:57 -04:00
WiiSaveBanner.h Reformat repo to clang-format 7.0 rules 2019-05-06 18:48:04 +00:00