main.c statics

This commit is contained in:
theo3
2021-03-21 18:39:45 -07:00
parent 282df6eb0b
commit 69edec1eb9
6 changed files with 15 additions and 6 deletions
+1
View File
@@ -6,6 +6,7 @@
#include "menu.h"
#include "dma.h"
#include "random.h"
#include "textbox.h"
// copy, erase, start
#define NUM_FILE_OPERATIONS 3
+1
View File
@@ -6,6 +6,7 @@
#include "readKeyInput.h"
#include "screen.h"
#include "structures.h"
#include "textbox.h"
typedef struct {
u8 filler0[0x4];
+5 -1
View File
@@ -7,6 +7,8 @@
#include "random.h"
#include "readKeyInput.h"
#include "save.h"
#include "textbox.h"
#include "arm_proxy.h"
extern void HandleIntroScreen(void);
extern void HandleChooseFileScreen(void);
@@ -21,6 +23,8 @@ static void (*const sScreenHandlers[])(void) = {
[SCREEN_CREDITS] = HandleCreditsScreen, [SCREEN_DEBUG_TEXT] = HandleDebugTextScreen,
};
static void sub_080560B8(void);
void MainLoop(void) {
int var0;
@@ -161,7 +165,7 @@ const Defaults sDefaultSettings = {
};
// single misplaced ldr
NONMATCH("asm/non_matching/sub_080560B8.inc", void sub_080560B8(void)) {
NONMATCH("asm/non_matching/sub_080560B8.inc", static void sub_080560B8(void)) {
u32 temp;
u32 b;