From 987223da3f43c5e55e3b1910162bc2790e8cdf2e Mon Sep 17 00:00:00 2001 From: Nekotekina Date: Thu, 20 Feb 2020 14:38:09 +0300 Subject: [PATCH] Minor fixup for /dev_flash creation --- rpcs3/Emu/System.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rpcs3/Emu/System.cpp b/rpcs3/Emu/System.cpp index 6333f33d69..41bb506399 100644 --- a/rpcs3/Emu/System.cpp +++ b/rpcs3/Emu/System.cpp @@ -116,7 +116,7 @@ void Emulator::Init() const std::string dev_hdd0 = GetHddDir(); const std::string dev_hdd1 = fmt::replace_all(g_cfg.vfs.dev_hdd1, "$(EmulatorDir)", emu_dir); const std::string dev_usb = fmt::replace_all(g_cfg.vfs.dev_usb000, "$(EmulatorDir)", emu_dir); - const std::string dev_flsh = fmt::replace_all(g_cfg.vfs.dev_flash, "$(EmulatorDir)", emu_dir); + const std::string dev_flsh = g_cfg.vfs.get_dev_flash(); auto make_path_verbose = [](const std::string& path) {