Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 0 additions & 5 deletions app/src/main/cpp/game.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -287,11 +287,6 @@ void Game::mergeDiskHighScores() {
fclose(rf);
}

void Game::saveHighScores() {
mergeDiskHighScores();
writeHighScores();
}

void Game::writeHighScores() {
if (dataPath_[0] == '\0') return;
HighScoreFile buf{};
Expand Down
1 change: 0 additions & 1 deletion app/src/main/cpp/game.h
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
Loading