From 84cceeb401b7ea3bdfcba6c64dddfff064b0df51 Mon Sep 17 00:00:00 2001 From: MonsterDruide1 <5958456@gmail.com> Date: Tue, 21 Jul 2026 01:35:45 +0200 Subject: [PATCH] util: Add type for `RelocationTable::Entry` --- include/nn/util/util_BinaryFormat.h | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/include/nn/util/util_BinaryFormat.h b/include/nn/util/util_BinaryFormat.h index 45950dae..6d76831c 100644 --- a/include/nn/util/util_BinaryFormat.h +++ b/include/nn/util/util_BinaryFormat.h @@ -81,6 +81,13 @@ struct RelocationTable { size_t GetSize() const; }; + struct Entry { + u32 file_offset; + u16 num_chunks; + u8 relocated_words_per_chunk; + u8 non_relocated_words_per_chunk; + }; + static const int PackedSignature; BinBlockSignature _signature; uint32_t _position; @@ -95,4 +102,4 @@ struct RelocationTable { void SetSignature(); }; -} // namespace nn::util \ No newline at end of file +} // namespace nn::util