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:
parent
3dda72e47f
commit
7a3cbf1876
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user