summaryrefslogtreecommitdiff
path: root/src/code
diff options
context:
space:
mode:
authorDragorn421 <Dragorn421@users.noreply.github.com>2022-07-30 16:09:42 +0200
committerGitHub <noreply@github.com>2022-07-30 10:09:42 -0400
commit2f5eac6b762b9ae2d6f0da98fc8ef914a3d6e51d (patch)
tree0c69fd484b9ec17382002385e0a926b6672cee47 /src/code
parent0ce2e75560dde29a5f0eb8680e2123b36b8e1e68 (diff)
Move fault_drawer bss to data/ asm because -g3 bss is fun (#1335)
Diffstat (limited to 'src/code')
-rw-r--r--src/code/fault_drawer.c17
1 files changed, 8 insertions, 9 deletions
diff --git a/src/code/fault_drawer.c b/src/code/fault_drawer.c
index a9d99e37b..3409942e3 100644
--- a/src/code/fault_drawer.c
+++ b/src/code/fault_drawer.c
@@ -10,13 +10,13 @@
typedef struct {
/* 0x00 */ u16* fb;
/* 0x04 */ u16 w;
- /* 0x08 */ u16 h;
- /* 0x0A */ u16 yStart;
- /* 0x0C */ u16 yEnd;
- /* 0x0E */ u16 xStart;
- /* 0x10 */ u16 xEnd;
- /* 0x12 */ u16 foreColor;
- /* 0x14 */ u16 backColor;
+ /* 0x06 */ u16 h;
+ /* 0x08 */ u16 yStart;
+ /* 0x0A */ u16 yEnd;
+ /* 0x0C */ u16 xStart;
+ /* 0x0E */ u16 xEnd;
+ /* 0x10 */ u16 foreColor;
+ /* 0x12 */ u16 backColor;
/* 0x14 */ u16 cursorX;
/* 0x16 */ u16 cursorY;
/* 0x18 */ const u32* fontData;
@@ -99,8 +99,7 @@ FaultDrawer sFaultDrawerDefault = {
NULL,
};
-FaultDrawer sFaultDrawer;
-char D_8016B6C0[0x20];
+extern FaultDrawer sFaultDrawer;
void FaultDrawer_SetOsSyncPrintfEnabled(u32 enabled) {
sFaultDrawer.osSyncPrintfEnabled = enabled;