summaryrefslogtreecommitdiff
path: root/Source/Core/DiscIO/DiscExtractor.cpp
diff options
context:
space:
mode:
authorJosJuice <josjuice@gmail.com>2019-03-21 23:04:56 +0100
committerJosJuice <josjuice@gmail.com>2019-04-09 14:18:41 +0200
commit84cbd5150f62bd5dd4a8d621fd0ccf7623ca4e2c (patch)
tree4a666bce2e24563a0282b66f4d4f907107f03fd0 /Source/Core/DiscIO/DiscExtractor.cpp
parentc885fed9da6f6b0c5862b99904bbb5edbba144fe (diff)
Add a Verify tab to game properties
Diffstat (limited to 'Source/Core/DiscIO/DiscExtractor.cpp')
-rw-r--r--Source/Core/DiscIO/DiscExtractor.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/Source/Core/DiscIO/DiscExtractor.cpp b/Source/Core/DiscIO/DiscExtractor.cpp
index 34c55a1d73..057a22378d 100644
--- a/Source/Core/DiscIO/DiscExtractor.cpp
+++ b/Source/Core/DiscIO/DiscExtractor.cpp
@@ -29,6 +29,11 @@ std::string NameForPartitionType(u32 partition_type, bool include_prefix)
return "UPDATE";
case PARTITION_CHANNEL:
return "CHANNEL";
+ case PARTITION_INSTALL:
+ // wit doesn't recognize the name "INSTALL", so we can't use it when naming partition folders
+ if (!include_prefix)
+ return "INSTALL";
+ // [[fallthrough]]
default:
const std::string type_as_game_id{static_cast<char>((partition_type >> 24) & 0xFF),
static_cast<char>((partition_type >> 16) & 0xFF),