summaryrefslogtreecommitdiffstats
path: root/src/core/file_sys
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2018-10-09 19:42:34 +0200
committerLioncash <mathew1800@gmail.com>2018-10-09 20:10:22 +0200
commit9ff743bc0acb63a176cd7c823aa63f5602c41299 (patch)
tree205ae8a773cd7a8ec304c42a2c6e3ecc0e95e929 /src/core/file_sys
parentips_layer: Add missing includes (diff)
downloadyuzu-9ff743bc0acb63a176cd7c823aa63f5602c41299.tar
yuzu-9ff743bc0acb63a176cd7c823aa63f5602c41299.tar.gz
yuzu-9ff743bc0acb63a176cd7c823aa63f5602c41299.tar.bz2
yuzu-9ff743bc0acb63a176cd7c823aa63f5602c41299.tar.lz
yuzu-9ff743bc0acb63a176cd7c823aa63f5602c41299.tar.xz
yuzu-9ff743bc0acb63a176cd7c823aa63f5602c41299.tar.zst
yuzu-9ff743bc0acb63a176cd7c823aa63f5602c41299.zip
Diffstat (limited to 'src/core/file_sys')
-rw-r--r--src/core/file_sys/ips_layer.cpp18
1 files changed, 13 insertions, 5 deletions
diff --git a/src/core/file_sys/ips_layer.cpp b/src/core/file_sys/ips_layer.cpp
index f832bf8e6..90f91f230 100644
--- a/src/core/file_sys/ips_layer.cpp
+++ b/src/core/file_sys/ips_layer.cpp
@@ -22,11 +22,19 @@ enum class IPSFileType {
Error,
};
-constexpr std::array<std::pair<const char*, const char*>, 11> ESCAPE_CHARACTER_MAP{
- std::pair{"\\a", "\a"}, {"\\b", "\b"}, {"\\f", "\f"}, {"\\n", "\n"},
- {"\\r", "\r"}, {"\\t", "\t"}, {"\\v", "\v"}, {"\\\\", "\\"},
- {"\\\'", "\'"}, {"\\\"", "\""}, {"\\\?", "\?"},
-};
+constexpr std::array<std::pair<const char*, const char*>, 11> ESCAPE_CHARACTER_MAP{{
+ {"\\a", "\a"},
+ {"\\b", "\b"},
+ {"\\f", "\f"},
+ {"\\n", "\n"},
+ {"\\r", "\r"},
+ {"\\t", "\t"},
+ {"\\v", "\v"},
+ {"\\\\", "\\"},
+ {"\\\'", "\'"},
+ {"\\\"", "\""},
+ {"\\\?", "\?"},
+}};
static IPSFileType IdentifyMagic(const std::vector<u8>& magic) {
if (magic.size() != 5)