diff --git a/app/src/main/cpp/game.cpp b/app/src/main/cpp/game.cpp index 75fd1c9..c8aad3f 100644 --- a/app/src/main/cpp/game.cpp +++ b/app/src/main/cpp/game.cpp @@ -287,11 +287,6 @@ void Game::mergeDiskHighScores() { fclose(rf); } -void Game::saveHighScores() { - mergeDiskHighScores(); - writeHighScores(); -} - void Game::writeHighScores() { if (dataPath_[0] == '\0') return; HighScoreFile buf{}; diff --git a/app/src/main/cpp/game.h b/app/src/main/cpp/game.h index aa1b9de..629b09d 100644 --- a/app/src/main/cpp/game.h +++ b/app/src/main/cpp/game.h @@ -141,7 +141,6 @@ class Game { bool fireHeld() const; float controlTargetX() const; void loadHighScores(); - void saveHighScores(); // Returns the rank the entry was inserted at, or -1 when it was not // ranked or an identical row already exists. int mergeHighScore(long score, int level);