mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-08 07:51:28 +12:00
Fill game list from all locations
This commit is contained in:
parent
08e9400870
commit
3cd4256b9e
5 changed files with 45 additions and 28 deletions
|
@ -260,12 +260,12 @@ bool Emulator::BootGame(const std::string& path, bool direct)
|
|||
return false;
|
||||
}
|
||||
|
||||
std::string Emulator::GetGameDir()
|
||||
std::string Emulator::GetHddDir()
|
||||
{
|
||||
const std::string& emu_dir_ = g_cfg.vfs.emulator_dir;
|
||||
const std::string& emu_dir = emu_dir_.empty() ? fs::get_config_dir() : emu_dir_;
|
||||
|
||||
return fmt::replace_all(g_cfg.vfs.dev_hdd0, "$(EmulatorDir)", emu_dir) + "game/";
|
||||
return fmt::replace_all(g_cfg.vfs.dev_hdd0, "$(EmulatorDir)", emu_dir);
|
||||
}
|
||||
|
||||
std::string Emulator::GetLibDir()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue