mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-14 02:38:37 +12:00
cellSysCache: keep mounted /dev_hdd1 after exitspawn
This commit is contained in:
parent
7072489a6e
commit
e0bc276205
4 changed files with 27 additions and 2 deletions
|
@ -1063,6 +1063,12 @@ void Emulator::Load(const std::string& title_id, bool add_only, bool force_globa
|
|||
vfs::mount("/dev_usb000", fmt::replace_all(g_cfg.vfs.dev_usb000, "$(EmulatorDir)", emu_dir));
|
||||
vfs::mount("/app_home", home_dir.empty() ? elf_dir + '/' : fmt::replace_all(home_dir, "$(EmulatorDir)", emu_dir));
|
||||
|
||||
if (!hdd1.empty())
|
||||
{
|
||||
vfs::mount("/dev_hdd1", hdd1);
|
||||
LOG_NOTICE(LOADER, "Hdd1: %s", vfs::get("/dev_hdd1"));
|
||||
}
|
||||
|
||||
// Special boot mode (directory scan)
|
||||
if (fs::is_dir(m_path))
|
||||
{
|
||||
|
@ -1823,6 +1829,7 @@ void Emulator::Stop(bool restart)
|
|||
data.clear();
|
||||
disc.clear();
|
||||
klic.clear();
|
||||
hdd1.clear();
|
||||
|
||||
m_force_boot = false;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue