From 4af9d03542b9374d0daf120522b1e38cf1554548 Mon Sep 17 00:00:00 2001 From: jakcron Date: Sun, 24 Jun 2018 13:16:02 +0800 Subject: [PATCH] [nx-hb] Reverted bad change. --- lib/libnx-hb/include/nx/AssetHeader.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/lib/libnx-hb/include/nx/AssetHeader.h b/lib/libnx-hb/include/nx/AssetHeader.h index e9d6460..455bc78 100644 --- a/lib/libnx-hb/include/nx/AssetHeader.h +++ b/lib/libnx-hb/include/nx/AssetHeader.h @@ -19,6 +19,12 @@ namespace nx offset = other.offset; size = other.size; } + + bool operator==(const sSection& other) const + { + return (offset == other.offset) \ + && (size == other.size); + } }; AssetHeader();