mirror of
https://github.com/metroid-maniac/gba-auto-batteryless-patcher.git
synced 2026-04-26 10:06:54 -05:00
Initial C commit
This commit is contained in:
parent
fd3e59f240
commit
4e1a2a8f8a
|
|
@ -4,7 +4,7 @@
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
#include "payload.h"
|
#include "payload_bin.h"
|
||||||
|
|
||||||
FILE *romfile;
|
FILE *romfile;
|
||||||
FILE *outfile;
|
FILE *outfile;
|
||||||
|
|
|
||||||
File diff suppressed because it is too large
Load Diff
16
payload.ld
Normal file
16
payload.ld
Normal file
|
|
@ -0,0 +1,16 @@
|
||||||
|
SECTIONS
|
||||||
|
{
|
||||||
|
. = 0x0;
|
||||||
|
.data :
|
||||||
|
{
|
||||||
|
*(.data)
|
||||||
|
}
|
||||||
|
.text :
|
||||||
|
{
|
||||||
|
*(.text)
|
||||||
|
}
|
||||||
|
/DISCARD/ :
|
||||||
|
{
|
||||||
|
*(*)
|
||||||
|
}
|
||||||
|
}
|
||||||
Loading…
Reference in New Issue
Block a user