From 73c3d5fc81fa98b0b412ccbcebac1a9f3ee7b511 Mon Sep 17 00:00:00 2001 From: Megamouse Date: Tue, 25 Jul 2023 08:27:17 +0200 Subject: [PATCH] Fix config path in Emu.Restart() --- rpcs3/Emu/System.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rpcs3/Emu/System.cpp b/rpcs3/Emu/System.cpp index e1343db436..1ff8e22e1b 100644 --- a/rpcs3/Emu/System.cpp +++ b/rpcs3/Emu/System.cpp @@ -2994,14 +2994,14 @@ game_boot_result Emulator::Restart(bool graceful) if (!IsStopped()) { - auto save_args = std::make_tuple(argv, envp, data, disc, klic, hdd1, m_config_mode, m_config_mode); + auto save_args = std::make_tuple(argv, envp, data, disc, klic, hdd1, m_config_mode, m_config_path); if (graceful) GracefulShutdown(false, false); else Kill(false); - std::tie(argv, envp, data, disc, klic, hdd1, m_config_mode, m_config_mode) = std::move(save_args); + std::tie(argv, envp, data, disc, klic, hdd1, m_config_mode, m_config_path) = std::move(save_args); } else {