summaryrefslogtreecommitdiffstats
path: root/src/core/file_sys
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2019-04-06 05:38:37 +0200
committerGitHub <noreply@github.com>2019-04-06 05:38:37 +0200
commit23d3cd7604fc672a69589c2e68cc1eddd6a4951e (patch)
treee4f117ada25e304b0b3cadc2b37e1f96af3eafcc /src/core/file_sys
parentMerge pull request #2339 from lioncash/rank (diff)
parentfile_sys/nca_metadata: Remove unnecessary comparison operators for TitleType (diff)
downloadyuzu-23d3cd7604fc672a69589c2e68cc1eddd6a4951e.tar
yuzu-23d3cd7604fc672a69589c2e68cc1eddd6a4951e.tar.gz
yuzu-23d3cd7604fc672a69589c2e68cc1eddd6a4951e.tar.bz2
yuzu-23d3cd7604fc672a69589c2e68cc1eddd6a4951e.tar.lz
yuzu-23d3cd7604fc672a69589c2e68cc1eddd6a4951e.tar.xz
yuzu-23d3cd7604fc672a69589c2e68cc1eddd6a4951e.tar.zst
yuzu-23d3cd7604fc672a69589c2e68cc1eddd6a4951e.zip
Diffstat (limited to 'src/core/file_sys')
-rw-r--r--src/core/file_sys/nca_metadata.cpp8
-rw-r--r--src/core/file_sys/nca_metadata.h3
2 files changed, 0 insertions, 11 deletions
diff --git a/src/core/file_sys/nca_metadata.cpp b/src/core/file_sys/nca_metadata.cpp
index 6f34b7836..93d0df6b9 100644
--- a/src/core/file_sys/nca_metadata.cpp
+++ b/src/core/file_sys/nca_metadata.cpp
@@ -10,14 +10,6 @@
namespace FileSys {
-bool operator>=(TitleType lhs, TitleType rhs) {
- return static_cast<std::size_t>(lhs) >= static_cast<std::size_t>(rhs);
-}
-
-bool operator<=(TitleType lhs, TitleType rhs) {
- return static_cast<std::size_t>(lhs) <= static_cast<std::size_t>(rhs);
-}
-
CNMT::CNMT(VirtualFile file) {
if (file->ReadObject(&header) != sizeof(CNMTHeader))
return;
diff --git a/src/core/file_sys/nca_metadata.h b/src/core/file_sys/nca_metadata.h
index a05d155f4..50bf38471 100644
--- a/src/core/file_sys/nca_metadata.h
+++ b/src/core/file_sys/nca_metadata.h
@@ -29,9 +29,6 @@ enum class TitleType : u8 {
DeltaTitle = 0x83,
};
-bool operator>=(TitleType lhs, TitleType rhs);
-bool operator<=(TitleType lhs, TitleType rhs);
-
enum class ContentRecordType : u8 {
Meta = 0,
Program = 1,