diff options
-rw-r--r-- | Cytore.hpp | 6 | ||||
-rw-r--r-- | MobileCydia.mm | 4 |
2 files changed, 5 insertions, 5 deletions
@@ -50,7 +50,7 @@ struct Header { uint32_t version_; uint32_t size_; uint32_t reserved_; -}; +} _packed; template <typename Target_> class Offset { @@ -80,11 +80,11 @@ class Offset { bool IsNull() const { return offset_ == 0; } -}; +} _packed; struct Block { Cytore::Offset<void> reserved_; -}; +} _packed; template <typename Type_> static _finline Type_ Round(Type_ value, Type_ size) { diff --git a/MobileCydia.mm b/MobileCydia.mm index 32c0244..fd225d1 100644 --- a/MobileCydia.mm +++ b/MobileCydia.mm @@ -1420,14 +1420,14 @@ struct PackageValue : char version_[8]; char name_[]; -}; +} _packed; struct MetaValue : Cytore::Block { uint32_t active_; Cytore::Offset<PackageValue> packages_[1 << 16]; -}; +} _packed; static Cytore::File<MetaValue> MetaFile_; // }}} |