This commit is contained in:
2024-05-18 20:09:21 +02:00
parent eb75e31577
commit ccd395d6ab
11 changed files with 152 additions and 32 deletions

View File

@ -105,7 +105,8 @@ void gameExec(void *handle) {
score += level;
if (score > eepromReadHighScore()) {
newHighScoreAchieved = true;
eepromWriteHighScore(score);
eepromSetHighScore(score);
eepromCommit();
}
state = e_ClearRowFlash;
} else {
@ -114,7 +115,7 @@ void gameExec(void *handle) {
break;
case e_ClearRowFlash:
canvasFillRow(clearCheckCnt, _flash);
canvasFillRow(clearCheckCnt, eepromReadFlashColor());
state = e_ClearRowFlashDelay;
break;