Skip to content

Commit

Permalink
change effect size assert to a warning
Browse files Browse the repository at this point in the history
  • Loading branch information
JCog committed Oct 7, 2024
1 parent 13dfd5c commit eb88099
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/effects.c
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,9 @@ void check_effect_sizes(void) {

for (i = 0; i < ARRAY_COUNT(gEffectTable); i++) {
s32 size = gEffectTable[i].dmaEnd - gEffectTable[i].dmaStart;
ASSERT_MSG(size <= 0x1000, "Effect 0x%x == 0x%x bytes (0x1000 limit)", i, size);
if (size > 0x1000) {
osSyncPrintf("WARNING: Effect 0x%x == 0x%x bytes (0x1000 limit)\n", i, size);
}
}
}

Expand Down

0 comments on commit eb88099

Please sign in to comment.