Some cleanup

This commit is contained in:
PikalaxALT 2019-08-05 15:49:05 -04:00
parent 195137b001
commit 1f62caae43
4 changed files with 5 additions and 5 deletions

View File

@ -2482,7 +2482,7 @@ void WipeTrainerNameRecords(void)
}
}
void nullsub_5(const char *unused_0, u8 unused_1, u8 unused_2)
void nullsub_5(const void *unused_0, u8 unused_1, u8 unused_2)
{
// debug?
}
@ -2512,7 +2512,7 @@ void sub_800E604(void)
sub_800D724(&gUnknown_03005000.unk_9e8);
CpuFill16(0, gSendCmd, sizeof gSendCmd);
CpuFill16(0, gRecvCmds, sizeof gRecvCmds);
CpuFill16(0, gLinkPlayers, sizeof gLinkPlayers)
CpuFill16(0, gLinkPlayers, sizeof gLinkPlayers);
}
void sub_800E6D0(void)

View File

@ -1319,7 +1319,7 @@ void CB2_Pokedex(void)
default:
SetVBlankCallback(NULL);
sub_80C09B0(0);
DmaFillLarge16(3, 0, (u8 *)VRAM, VRAM_SIZE, 0x1000)
DmaFillLarge16(3, 0, (u8 *)VRAM, VRAM_SIZE, 0x1000);
DmaClear32(3, OAM, OAM_SIZE);
DmaClear16(3, PLTT, PLTT_SIZE);
gMain.state = 1;

View File

@ -194,7 +194,7 @@ void sub_81CC524(void)
u32 sub_81CC554(void)
{
struct Pokenav5Struct *state = GetSubstructPtr(3);
state->unk10(state);
return state->unk10(state);
}
static u32 sub_81CC568(struct Pokenav5Struct *state)

View File

@ -365,7 +365,7 @@ u8 *sub_81CD624(u8 *str, u16 id, bool8 arg3)
str_ = str; // For some reason, a variable is needed to match.
while (*str_ != EOS)
*(str_++);
(str_++);
*(str_++) = EXT_CTRL_CODE_BEGIN;
*(str_++) = 0x12;