void pointer standarized
This commit is contained in:
@@ -600,7 +600,7 @@ void StartRegiBattle(void)
|
||||
|
||||
static void CB2_EndWildBattle(void)
|
||||
{
|
||||
CpuFill16(0, (void*)(BG_PLTT), BG_PLTT_SIZE);
|
||||
CpuFill16(0, (void *)(BG_PLTT), BG_PLTT_SIZE);
|
||||
ResetOamRange(0, 128);
|
||||
|
||||
if (IsPlayerDefeated(gBattleOutcome) == TRUE && !InBattlePyramid() && !InBattlePike())
|
||||
@@ -616,7 +616,7 @@ static void CB2_EndWildBattle(void)
|
||||
|
||||
static void CB2_EndScriptedWildBattle(void)
|
||||
{
|
||||
CpuFill16(0, (void*)(BG_PLTT), BG_PLTT_SIZE);
|
||||
CpuFill16(0, (void *)(BG_PLTT), BG_PLTT_SIZE);
|
||||
ResetOamRange(0, 128);
|
||||
|
||||
if (IsPlayerDefeated(gBattleOutcome) == TRUE)
|
||||
@@ -1050,9 +1050,9 @@ static inline void SetU32(void *ptr, u32 value)
|
||||
*(u32 *)(ptr) = value;
|
||||
}
|
||||
|
||||
static inline void SetPtr(const void *ptr, const void* value)
|
||||
static inline void SetPtr(const void *ptr, const void *value)
|
||||
{
|
||||
*(const void**)(ptr) = value;
|
||||
*(const void **)(ptr) = value;
|
||||
}
|
||||
|
||||
static void TrainerBattleLoadArgs(const struct TrainerBattleParameter *specs, const u8 *data)
|
||||
|
||||
Reference in New Issue
Block a user