mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-12 02:59:00 +00:00
DiscIO: Move scrubbing code out of ConvertToGCZ
This way, scrubbing can also be performed when converting to other formats.
This commit is contained in:
parent
04c7892b93
commit
6ffcbcee70
11 changed files with 195 additions and 73 deletions
|
@ -35,6 +35,8 @@ public:
|
|||
// Returns true if the specified 32 KiB block only contains unused data
|
||||
bool CanBlockBeScrubbed(u64 offset) const;
|
||||
|
||||
static constexpr size_t CLUSTER_SIZE = 0x8000;
|
||||
|
||||
private:
|
||||
void MarkAsUsed(u64 offset, u64 size);
|
||||
void MarkAsUsedE(u64 partition_data_offset, u64 offset, u64 size);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue