Skip to content

Commit

Permalink
Fix Mega Duck Warning
Browse files Browse the repository at this point in the history
  • Loading branch information
joyrider3774 committed Apr 11, 2022
1 parent f72f83c commit fbdfa5e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion source/src/savestate.c
Original file line number Diff line number Diff line change
Expand Up @@ -151,9 +151,10 @@ uint8_t levelUnlocked(uint8_t mode, uint8_t diff, uint8_t level)
uint8_t lastUnlockedLevel(uint8_t mode, uint8_t diff)
{
mode; diff; //avoid megaduck warning
uint8_t tmp, level;
uint8_t tmp;
tmp = 1;
#ifndef MEGADUCK
uint8_t level;
ENABLE_RAM;
for (level = 0; level < levelCount; level++)
{
Expand Down

0 comments on commit fbdfa5e

Please sign in to comment.