diff options
Diffstat (limited to 'src')
-rwxr-xr-x | src/gbplayer.c | 12 | ||||
-rwxr-xr-x | src/main.c | 12 | ||||
-rwxr-xr-x | src/rom_850.c | 10 | ||||
-rwxr-xr-x | src/titlescreen.c | 41 | ||||
-rwxr-xr-x | src/util.c | 3 |
5 files changed, 1 insertions, 77 deletions
diff --git a/src/gbplayer.c b/src/gbplayer.c index 5e4ad19..00d30d5 100755 --- a/src/gbplayer.c +++ b/src/gbplayer.c @@ -2,18 +2,6 @@ #include "gbplayer.h" #include "main.h" -extern void sub_1340(void); -extern void sub_13FC(void); -extern void sub_1828(void); -extern u8 gUnknown_02002808[]; -extern u16 sGbPlayerCurKeys; -extern u16 sGbPlayerPrevKeys; -extern const u8 gUnknown_08058048[]; -extern const u8 gUnknown_08058248[]; -extern const u8 gUnknown_0805C248[]; - -extern const int *gUnknown_086A4C44[]; - /*static*/ void ReadGbPlayerKeys(void) { u16 keyInput = REG_KEYINPUT ^ KEYS_MASK; @@ -3,23 +3,11 @@ #include "gbplayer.h" #include "m4a.h" -extern void sub_438(void); -extern void sub_8BC(void); -extern void sub_8FC(void); -extern void sub_940(void); -extern void sub_1F4C(void); -extern void sub_1F5C(void); -extern void sub_1090C(void); -extern void sub_52A18(void); - static void sub_B54(void); static void sub_B8C(void); static void InitIntrHandlers(void); static void ReadKeys(void); -extern const IntrFunc gIntrTableTemplate[14]; -extern const s16 gUnknown_08055C44[]; - void AgbMain(void) { RegisterRamReset(0xFF); diff --git a/src/rom_850.c b/src/rom_850.c index 97fed1f..56a4914 100755 --- a/src/rom_850.c +++ b/src/rom_850.c @@ -1,16 +1,6 @@ #include "global.h" #include "main.h" -extern IntrFunc *gUnknown_0200FB98; -extern IntrFunc *gUnknown_02019BE0; -extern void (*gUnknown_0200FB9C)(void); -extern void (*gUnknown_0200FBA0)(void); -extern void (*gUnknown_02017BD0)(void); -extern void (*gUnknown_02017BD4)(void); -extern void HBlankIntr(void); -extern void VCountIntr(void); -extern void sub_DC4(void); - u16 sub_850(void) { if (REG_IME & INTR_FLAG_VBLANK diff --git a/src/titlescreen.c b/src/titlescreen.c index 315c3e6..d7dd98b 100755 --- a/src/titlescreen.c +++ b/src/titlescreen.c @@ -3,48 +3,9 @@ #include "m4a.h" #include "main.h" -extern u8 gUnknown_03000000[]; - - -extern StateFunc gTitlescreenStateFuncs[]; -extern const u8 gTitlescreenBg_Gfx[]; -extern const u16 gTitlescreenBg_Pals[]; -extern const u8 gTitlescreenBgTilemap[]; -extern const u16 gTitlescreenSprites_Pals[]; -extern const u8 gTitlescreenSpritesSavedGame_Gfx[]; -extern const u8 gTitlescreenSpritesNoSavedGame_Gfx[]; -extern const u8 gGBAButtonIcons_Pals[]; -extern const u8 gOptionsSprites_Gfx[]; -extern const u8 *const gUnknown_086A975C[7]; -extern const u8 *const gUnknown_086A96F8[7]; -extern const s16 gUnknown_086A964C[]; -extern const s8 gUnknown_086A9662[]; -extern const s8 gUnknown_086A9666[6][2]; -extern const s8 gUnknown_086A9748[]; -extern const u8 *const gUnknown_086A9714[]; -extern const u8 *const gUnknown_086A9778[]; -extern const s8 gUnknown_086A9672[9][2]; -extern const u16 gUnknown_086A96A4[]; -extern const u16 gUnknown_086A96D4[]; -extern const s16 gEReaderAccessButtonSequence[]; -extern const struct SpriteSet *const gUnknown_086A96E4[]; - -extern void sub_438(void); -extern void sub_CBC(void); -extern void sub_D10(void); -extern void sub_FE04(void (*func)(void)); -extern void sub_FD5C(void (*func)(void)); -extern void sub_10708(void*, void*, u16, s16); -extern void sub_52C44(void); - -extern void sub_10AC0(void); -extern void sub_1175C(void); -extern void sub_11968(void); -extern void sub_11B74(void); - static void sub_114FC(void); static void sub_1157C(void); -extern void sub_11640(void); +/*static*/ extern void sub_11640(void); // If the user doesn't press any buttons at the title screen, // it will transition to a demo gameplay experience. @@ -1,9 +1,6 @@ #include "global.h" #include "main.h" -extern const struct OamData gEmptyOamData[128]; -extern int sub_55A24(u8*); // Rumble Pak? - static u8 *sub_734(u32, u8*, u32); static int sub_780(int, int); |