Convert GetFileSize to use Path

This commit is contained in:
Henrik Rydgård 2021-05-15 23:12:32 +02:00
parent 1f018d33c5
commit a2fa724d8e
2 changed files with 1 additions and 4 deletions

View file

@ -51,9 +51,6 @@ bool Exists(const Path &path);
// Returns true if file filename exists in directory path.
bool ExistsInDir(const Path &path, const std::string &filename);
// Returns true if file filename exists in directory path.
bool ExistsInDir(const std::string &path, const std::string &filename);
// Returns true if filename exists, and is a directory
// Supports Android content URIs.
bool IsDirectory(const Path &filename);

View file

@ -612,7 +612,7 @@ bool retro_load_game(const struct retro_game_info *game)
if (retro_base_dir.empty())
retro_base_dir = Path(game->path).NavigateUp();
retro_base_dir /= "PPSSPP";
retro_base_dir /= "PPSSPP";
if (retro_save_dir.empty())
retro_save_dir = Path(game->path).NavigateUp();