mirror of
https://github.com/zeldaret/mm.git
synced 2026-06-06 11:37:19 -04:00
Fix all warnings raised by IDO (#152)
* Fix all warnings raised by IDO, ignore trailing commas * Set -woff=624,...; keep const in printf functions * Remove redefined macros in irqmgr.c * Remove DECR macro & reformat * Address PR comments from AngheloAlf
This commit is contained in:
@@ -225,7 +225,7 @@ void EffectSS_UpdateParticle(GlobalContext* ctxt, s32 index) {
|
||||
particle->pos.y += particle->velocity.y;
|
||||
particle->pos.z += particle->velocity.z;
|
||||
|
||||
(*particle->update)(ctxt, index, particle);
|
||||
particle->update(ctxt, index, particle);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -250,7 +250,7 @@ void EffectSS_UpdateAllParticles(GlobalContext* ctxt) {
|
||||
void EffectSS_DrawParticle(GlobalContext* ctxt, s32 index) {
|
||||
EffectSs* entry = &EffectSS2Info.data_table[index];
|
||||
if (entry->draw != 0) {
|
||||
(*entry->draw)(ctxt, index, entry);
|
||||
entry->draw(ctxt, index, entry);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user