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();