mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-15 03:08:36 +12:00
Qt: Add Firmware Cache options to main window menu
This commit is contained in:
parent
8c747bf0a2
commit
ebd92a2f2f
6 changed files with 85 additions and 7 deletions
|
@ -656,6 +656,11 @@ std::string Emulator::GetHdd1Dir()
|
|||
return fmt::replace_all(g_cfg.vfs.dev_hdd1, "$(EmulatorDir)", GetEmuDir());
|
||||
}
|
||||
|
||||
std::string Emulator::GetCacheDir()
|
||||
{
|
||||
return fs::get_cache_dir() + "cache/";
|
||||
}
|
||||
|
||||
#ifdef _WIN32
|
||||
std::string Emulator::GetExeDir()
|
||||
{
|
||||
|
@ -1430,7 +1435,7 @@ game_boot_result Emulator::Load(const std::string& title_id, bool add_only, bool
|
|||
|
||||
ppu_load_exec(ppu_exec);
|
||||
|
||||
_main->cache = fs::get_cache_dir() + "cache/";
|
||||
_main->cache = GetCacheDir();
|
||||
|
||||
if (!m_title_id.empty() && m_cat != "1P")
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue