1
0
mirror of https://github.com/RPCS3/rpcs3.git synced 2024-11-25 12:12:50 +01:00

Fix Emulator::argv state after failed PS3 exitspawn

This commit is contained in:
Eladash 2022-05-04 22:12:22 +03:00 committed by Ivan
parent 3dda72e47f
commit 7a3cbf1876

View File

@ -1771,6 +1771,15 @@ void Emulator::Kill(bool allow_autoexit)
{
if (m_state.exchange(system_state::stopped) == system_state::stopped)
{
// Ensure clean state
argv.clear();
envp.clear();
data.clear();
disc.clear();
klic.clear();
hdd1.clear();
m_config_path.clear();
m_config_mode = cfg_mode::custom;
return;
}