mirror of
https://github.com/RPCS3/rpcs3.git
synced 2024-11-22 10:42:36 +01:00
Fix config path in Emu.Restart()
This commit is contained in:
parent
13575029c0
commit
73c3d5fc81
@ -2994,14 +2994,14 @@ game_boot_result Emulator::Restart(bool graceful)
|
|||||||
|
|
||||||
if (!IsStopped())
|
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)
|
if (graceful)
|
||||||
GracefulShutdown(false, false);
|
GracefulShutdown(false, false);
|
||||||
else
|
else
|
||||||
Kill(false);
|
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
|
else
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user