mirror of
https://github.com/zeldaret/oot.git
synced 2025-06-08 01:21:52 +00:00
* Cleanup includes in header files * include libc headers without libc/ prefix * fix * fix2 * fix3 * fix4 * some bss lol * bss * fix
18 lines
441 B
C
18 lines
441 B
C
#ifndef ROMFILE_H
|
|
#define ROMFILE_H
|
|
|
|
#include "stdint.h"
|
|
|
|
typedef struct RomFile {
|
|
/* 0x00 */ uintptr_t vromStart;
|
|
/* 0x04 */ uintptr_t vromEnd;
|
|
} RomFile; // size = 0x8
|
|
|
|
#define ROM_FILE(name) \
|
|
{ (uintptr_t)_##name##SegmentRomStart, (uintptr_t)_##name##SegmentRomEnd }
|
|
#define ROM_FILE_EMPTY(name) \
|
|
{ (uintptr_t)_##name##SegmentRomStart, (uintptr_t)_##name##SegmentRomStart }
|
|
#define ROM_FILE_UNSET \
|
|
{ 0, 0 }
|
|
|
|
#endif
|