diff options
author | Lioncash <mathew1800@gmail.com> | 2019-04-05 21:20:04 +0200 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2019-04-05 21:20:07 +0200 |
commit | a1868286b0fead2c2974c15308a278b924242fce (patch) | |
tree | d92ff69d610544b68c8d2225214f423239db43e7 /src/core | |
parent | Merge pull request #2282 from bunnei/gpu-asynch-v2 (diff) | |
download | yuzu-a1868286b0fead2c2974c15308a278b924242fce.tar yuzu-a1868286b0fead2c2974c15308a278b924242fce.tar.gz yuzu-a1868286b0fead2c2974c15308a278b924242fce.tar.bz2 yuzu-a1868286b0fead2c2974c15308a278b924242fce.tar.lz yuzu-a1868286b0fead2c2974c15308a278b924242fce.tar.xz yuzu-a1868286b0fead2c2974c15308a278b924242fce.tar.zst yuzu-a1868286b0fead2c2974c15308a278b924242fce.zip |
Diffstat (limited to 'src/core')
-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, |