From 6684e26ae2589109d947f120e1632c50cd8eb01b Mon Sep 17 00:00:00 2001 From: "Admiral H. Curtiss" Date: Tue, 21 Sep 2021 08:01:21 +0200 Subject: [PATCH] DiscIO/DirectoryBlob: Fix swapped DiscContent comparison operators. --- Source/Core/DiscIO/DirectoryBlob.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Source/Core/DiscIO/DirectoryBlob.h b/Source/Core/DiscIO/DirectoryBlob.h index bf8808db8d..1ec5372fa4 100644 --- a/Source/Core/DiscIO/DirectoryBlob.h +++ b/Source/Core/DiscIO/DirectoryBlob.h @@ -58,8 +58,8 @@ public: bool operator!=(const DiscContent& other) const { return !(*this == other); } bool operator<(const DiscContent& other) const { return GetEndOffset() < other.GetEndOffset(); } bool operator>(const DiscContent& other) const { return other < *this; } - bool operator<=(const DiscContent& other) const { return !(*this < other); } - bool operator>=(const DiscContent& other) const { return !(*this > other); } + bool operator<=(const DiscContent& other) const { return !(*this > other); } + bool operator>=(const DiscContent& other) const { return !(*this < other); } private: u64 m_offset;