diff --git a/source/saves.c b/source/saves.c index ba04629..24bdd30 100644 --- a/source/saves.c +++ b/source/saves.c @@ -989,7 +989,7 @@ int ReadOnlineSaves(save_entry_t * game) char path[256]; snprintf(path, sizeof(path), APOLLO_LOCAL_CACHE "%s.txt", game->title_id); - if (file_exists(path) == SUCCESS) + if (file_exists(path) == SUCCESS && strcmp(apollo_config.save_db, ONLINE_URL) == 0) { struct stat stats; stat(path, &stats); @@ -1640,7 +1640,7 @@ static void _ReadOnlineListEx(const char* urlPath, uint16_t flag, list_t *list) snprintf(path, sizeof(path), APOLLO_LOCAL_CACHE "%04X_games.txt", flag); - if (file_exists(path) == SUCCESS) + if (file_exists(path) == SUCCESS && strcmp(apollo_config.save_db, ONLINE_URL) == 0) { struct stat stats; stat(path, &stats);