Remove Overlayhader and support loading overlays
This commit is contained in:
@@ -3,11 +3,9 @@
|
||||
#include "../AutoLBA/auto_lba.hpp"
|
||||
|
||||
namespace JabyEngine {
|
||||
struct __attribute__((packed)) OverlayHeader {
|
||||
void (*execute)();
|
||||
uint16_t lba_size; //< The size of the OverlayLBA section
|
||||
};
|
||||
|
||||
typedef AutoLBAEntry OverlayLBA;
|
||||
|
||||
// Can be used to create dummy values to trick LZ4 into compressing an uncompressed overlay
|
||||
#define __create_dummy_fill(length) static const uint8_t __section(".keep.dummy") __used DummyFilling[length] = {0x0}
|
||||
}
|
||||
#endif //!__JABYENGINE_OVERLAY__HPP__
|
Reference in New Issue
Block a user