Skip to content

Commit

Permalink
Fixed inverted result of PAL_isManualFadeDone
Browse files Browse the repository at this point in the history
  • Loading branch information
werton authored Oct 21, 2024
1 parent de738ff commit a216cf5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pal.c
Original file line number Diff line number Diff line change
Expand Up @@ -379,7 +379,7 @@ bool NO_INLINE PAL_doFadeStep(void)

bool PAL_isManualFadeDone(void)
{
return (fadeCounter > 0)?TRUE:FALSE;
return (fadeCounter > 0) ? FALSE : TRUE;
}

void PAL_fade(u16 fromCol, u16 toCol, const u16* palSrc, const u16* palDst, u16 numFrame, bool async)
Expand Down

0 comments on commit a216cf5

Please sign in to comment.