summaryrefslogtreecommitdiff
path: root/src/multiboot.c
diff options
context:
space:
mode:
authorPikalaxALT <PikalaxALT@gmail.com>2020-04-04 12:58:08 -0400
committerPikalaxALT <PikalaxALT@gmail.com>2020-04-04 12:58:08 -0400
commitcc3419eff7c7139f4b4a92a31bbb6255e3dba1dd (patch)
tree73a4d8c2e5c34feb46ca9ada6b1668b3d95cd3ac /src/multiboot.c
parentc47eca8a182a2a202cd65e2af93e9ef322d8674c (diff)
Get pokefirered_modern to build
Diffstat (limited to 'src/multiboot.c')
-rw-r--r--src/multiboot.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/multiboot.c b/src/multiboot.c
index cfc9821d2..b44c421dc 100644
--- a/src/multiboot.c
+++ b/src/multiboot.c
@@ -1,7 +1,7 @@
#include "global.h"
#include "multiboot.h"
-static IWRAM_DATA u16 MultiBoot_required_data[MULTIBOOT_NCHILD];
+static u16 MultiBoot_required_data[MULTIBOOT_NCHILD];
static int MultiBootSend(struct MultiBootParam *mp, u16 data);
static int MultiBootHandShake(struct MultiBootParam *mp);
@@ -390,7 +390,7 @@ static int MultiBootHandShake(struct MultiBootParam *mp)
#undef must_data
}
-static void MultiBootWaitCycles(u32 cycles)
+static NOINLINE void MultiBootWaitCycles(u32 cycles)
{
asm("mov r2, pc");
asm("lsr r2, #24");