Skip to content

Commit

Permalink
Allow empty /dev_flash cfg (fixup)
Browse files Browse the repository at this point in the history
  • Loading branch information
Nekotekina committed Feb 20, 2020
1 parent 580b5cd commit 78cc36c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rpcs3/Emu/System.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -837,7 +837,7 @@ void Emulator::Load(const std::string& title_id, bool add_only, bool force_globa

// Mount default relative path to non-existent directory
vfs::mount("/dev_hdd0", fmt::replace_all(g_cfg.vfs.dev_hdd0, "$(EmulatorDir)", emu_dir));
vfs::mount("/dev_flash", fmt::replace_all(g_cfg.vfs.dev_flash, "$(EmulatorDir)", emu_dir));
vfs::mount("/dev_flash", g_cfg.vfs.get_dev_flash());
vfs::mount("/dev_usb", fmt::replace_all(g_cfg.vfs.dev_usb000, "$(EmulatorDir)", emu_dir));
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));
Expand Down

0 comments on commit 78cc36c

Please sign in to comment.