Merge pull request #1812 from tustin2121/patch-linker
GF Header and Modern Builds
This commit is contained in:
commit
b1af66ebe5
3 changed files with 14 additions and 2 deletions
|
@ -49,8 +49,11 @@ SECTIONS {
|
||||||
ALIGN(4)
|
ALIGN(4)
|
||||||
{
|
{
|
||||||
src/rom_header.o(.text*);
|
src/rom_header.o(.text*);
|
||||||
src/*.o(.text*);
|
src/rom_header_gf.o(.text.*);
|
||||||
|
src/crt0.o(.text);
|
||||||
|
src/main.o(.text);
|
||||||
gflib/*.o(.text*);
|
gflib/*.o(.text*);
|
||||||
|
src/*.o(.text*);
|
||||||
asm/*.o(.text*);
|
asm/*.o(.text*);
|
||||||
} =0
|
} =0
|
||||||
|
|
||||||
|
|
|
@ -6,6 +6,15 @@
|
||||||
#include "item.h"
|
#include "item.h"
|
||||||
#include "pokeball.h"
|
#include "pokeball.h"
|
||||||
|
|
||||||
|
// The purpose of this struct is for outside applications to be
|
||||||
|
// able to access parts of the ROM or its save file, like a public API.
|
||||||
|
// In vanilla, it was used by Colosseum and XD to access pokemon graphics.
|
||||||
|
//
|
||||||
|
// If this struct is rearranged in any way, it defeats the purpose of
|
||||||
|
// having it at all. Applications like PKHex or streaming HUDs may find
|
||||||
|
// these values useful, so there's some potential benefit to keeping it.
|
||||||
|
// If there's a compilation problem below, just comment out the assignment
|
||||||
|
// instead of changing this struct.
|
||||||
struct GFRomHeader
|
struct GFRomHeader
|
||||||
{
|
{
|
||||||
u32 version;
|
u32 version;
|
||||||
|
|
Loading…
Reference in a new issue