mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-11 01:08:39 +12:00
Clean up old game window in case of unexpected errors
This commit is contained in:
parent
3ce4c95e61
commit
cc7e7300ce
6 changed files with 33 additions and 0 deletions
|
@ -966,6 +966,11 @@ game_boot_result Emulator::BootGame(const std::string& path, const std::string&
|
|||
std::tie(m_path, m_path_original, argv, envp, data, disc, klic, hdd1, m_config_mode, m_config_path) = std::move(save_args);
|
||||
};
|
||||
}
|
||||
|
||||
if (result != game_boot_result::no_errors)
|
||||
{
|
||||
GetCallbacks().close_gs_frame();
|
||||
}
|
||||
}
|
||||
|
||||
return result;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue