Fixed asset header compare incosistenty

This commit is contained in:
2025-11-09 10:24:45 -06:00
parent 5a3004f1d1
commit eff5fc3d9a
3 changed files with 15 additions and 2 deletions

View File

@@ -15,6 +15,7 @@
#endif
#define ASSET_FILE "dusk.dsk"
#define ASSET_HEADER_SIZE 3
static const char_t *ASSET_SEARCH_PATHS[] = {
"%s/%s",
@@ -28,7 +29,7 @@ static const char_t *ASSET_SEARCH_PATHS[] = {
#pragma pack(push, 1)
typedef struct {
char_t header[3];
char_t header[ASSET_HEADER_SIZE];
} assetheader_t;
#pragma pack(pop)