diff options
Diffstat (limited to 'Source/Core/DiscIO/DiscExtractor.cpp')
| -rw-r--r-- | Source/Core/DiscIO/DiscExtractor.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/Source/Core/DiscIO/DiscExtractor.cpp b/Source/Core/DiscIO/DiscExtractor.cpp index e616a9cac1..7837516f29 100644 --- a/Source/Core/DiscIO/DiscExtractor.cpp +++ b/Source/Core/DiscIO/DiscExtractor.cpp @@ -153,7 +153,7 @@ void ExportDirectory(const Volume& volume, const Partition& partition, const Fil bool ExportWiiUnencryptedHeader(const Volume& volume, const std::string& export_filename) { - if (volume.GetVolumeType() != Platform::WII_DISC) + if (volume.GetVolumeType() != Platform::WiiDisc) return false; return ExportData(volume, PARTITION_NONE, 0, 0x100, export_filename); @@ -161,7 +161,7 @@ bool ExportWiiUnencryptedHeader(const Volume& volume, const std::string& export_ bool ExportWiiRegionData(const Volume& volume, const std::string& export_filename) { - if (volume.GetVolumeType() != Platform::WII_DISC) + if (volume.GetVolumeType() != Platform::WiiDisc) return false; return ExportData(volume, PARTITION_NONE, 0x4E000, 0x20, export_filename); @@ -170,7 +170,7 @@ bool ExportWiiRegionData(const Volume& volume, const std::string& export_filenam bool ExportTicket(const Volume& volume, const Partition& partition, const std::string& export_filename) { - if (volume.GetVolumeType() != Platform::WII_DISC) + if (volume.GetVolumeType() != Platform::WiiDisc) return false; return ExportData(volume, PARTITION_NONE, partition.offset, 0x2a4, export_filename); @@ -178,7 +178,7 @@ bool ExportTicket(const Volume& volume, const Partition& partition, bool ExportTMD(const Volume& volume, const Partition& partition, const std::string& export_filename) { - if (volume.GetVolumeType() != Platform::WII_DISC) + if (volume.GetVolumeType() != Platform::WiiDisc) return false; const std::optional<u32> size = volume.ReadSwapped<u32>(partition.offset + 0x2a4, PARTITION_NONE); @@ -193,7 +193,7 @@ bool ExportTMD(const Volume& volume, const Partition& partition, const std::stri bool ExportCertificateChain(const Volume& volume, const Partition& partition, const std::string& export_filename) { - if (volume.GetVolumeType() != Platform::WII_DISC) + if (volume.GetVolumeType() != Platform::WiiDisc) return false; const std::optional<u32> size = volume.ReadSwapped<u32>(partition.offset + 0x2ac, PARTITION_NONE); @@ -208,7 +208,7 @@ bool ExportCertificateChain(const Volume& volume, const Partition& partition, bool ExportH3Hashes(const Volume& volume, const Partition& partition, const std::string& export_filename) { - if (volume.GetVolumeType() != Platform::WII_DISC) + if (volume.GetVolumeType() != Platform::WiiDisc) return false; const std::optional<u64> offset = @@ -351,7 +351,7 @@ bool ExportSystemData(const Volume& volume, const Partition& partition, success &= ExportDOL(volume, partition, export_folder + "/sys/main.dol"); success &= ExportFST(volume, partition, export_folder + "/sys/fst.bin"); - if (volume.GetVolumeType() == Platform::WII_DISC) + if (volume.GetVolumeType() == Platform::WiiDisc) { File::CreateFullPath(export_folder + "/disc/"); success &= ExportWiiUnencryptedHeader(volume, export_folder + "/disc/header.bin"); |
