aboutsummaryrefslogtreecommitdiff
path: root/src/core/file_sys/registered_cache.cpp
diff options
context:
space:
mode:
authorZach Hilman <zachhilman@gmail.com>2018-10-17 18:27:23 -0400
committerZach Hilman <zachhilman@gmail.com>2018-10-17 18:27:29 -0400
commita0f408400b328d75b2fc6c167a0133f1c03ae33e (patch)
tree3bdf4e57a7fa3aeb188838351ffe4f7f6326c047 /src/core/file_sys/registered_cache.cpp
parent148b28bad14e9d63e71fdd14295a98f9d44b2565 (diff)
qt: Add support for dumping a DLC Data RomFS
Diffstat (limited to 'src/core/file_sys/registered_cache.cpp')
-rw-r--r--src/core/file_sys/registered_cache.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/core/file_sys/registered_cache.cpp b/src/core/file_sys/registered_cache.cpp
index d1dea5e826..29b1004141 100644
--- a/src/core/file_sys/registered_cache.cpp
+++ b/src/core/file_sys/registered_cache.cpp
@@ -35,6 +35,10 @@ bool operator==(const RegisteredCacheEntry& lhs, const RegisteredCacheEntry& rhs
return std::tie(lhs.title_id, lhs.type) == std::tie(rhs.title_id, rhs.type);
}
+bool operator!=(const RegisteredCacheEntry& lhs, const RegisteredCacheEntry& rhs) {
+ return !operator==(lhs, rhs);
+}
+
static bool FollowsTwoDigitDirFormat(std::string_view name) {
static const std::regex two_digit_regex("000000[0-9A-F]{2}", std::regex_constants::ECMAScript |
std::regex_constants::icase);