diff options
author | bunnei <bunneidev@gmail.com> | 2019-04-06 05:38:37 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-04-06 05:38:37 +0200 |
commit | 23d3cd7604fc672a69589c2e68cc1eddd6a4951e (patch) | |
tree | e4f117ada25e304b0b3cadc2b37e1f96af3eafcc /src | |
parent | Merge pull request #2339 from lioncash/rank (diff) | |
parent | file_sys/nca_metadata: Remove unnecessary comparison operators for TitleType (diff) | |
download | yuzu-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')
-rw-r--r-- | src/core/file_sys/nca_metadata.cpp | 8 | ||||
-rw-r--r-- | src/core/file_sys/nca_metadata.h | 3 |
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, |