Encode word size into OverlayLBA structure
This commit is contained in:
@@ -5,13 +5,13 @@
|
||||
namespace JabyEngine {
|
||||
struct __attribute__((packed)) OverlayHeader {
|
||||
void (*execute)();
|
||||
uint16_t lba_size;
|
||||
uint16_t lba_size; //< The size of the OverlayLBA section
|
||||
};
|
||||
|
||||
// Maybe encode attributes like "isLZ4" into size parameter
|
||||
struct __attribute__((packed)) OverlayLBA {
|
||||
uint16_t lba;
|
||||
uint16_t size;
|
||||
uint16_t size_words;
|
||||
};
|
||||
}
|
||||
#endif //!__JABYENGINE_OVERLAY__HPP__
|
Reference in New Issue
Block a user