Fix logic mistake.

This commit is contained in:
J-D-K
2025-01-26 18:45:57 -05:00
parent 57a9f0f4a6
commit e894b39c63
2 changed files with 3 additions and 2 deletions

View File

@@ -65,7 +65,8 @@ BackupMenuState::BackupMenuState(data::User *user, data::TitleInfo *titleInfo, F
// Check if there's currently any data to backup to prevent blanks.
{
fslib::Directory saveCheck(fs::DEFAULT_SAVE_PATH);
m_saveHasData = saveCheck.getCount() == 0;
logger::log("Save file count: %i", saveCheck.getCount());
m_saveHasData = saveCheck.getCount() > 0;
}
BackupMenuState::refresh();