mirror of
https://github.com/RPCS3/rpcs3.git
synced 2024-11-17 08:11:51 +00:00
Logs re-enable on Emu.Kill() fixup
This commit is contained in:
parent
b68cfbf794
commit
a98174be85
@ -2505,9 +2505,6 @@ extern bool try_lock_spu_threads_in_a_state_compatible_with_savestates(bool reve
|
||||
|
||||
void Emulator::Kill(bool allow_autoexit, bool savestate)
|
||||
{
|
||||
// Enable logging
|
||||
rpcs3::utils::configure_logs(true);
|
||||
|
||||
if (!IsStopped() && savestate && !try_lock_spu_threads_in_a_state_compatible_with_savestates())
|
||||
{
|
||||
sys_log.error("Failed to savestate: failed to lock SPU threads execution.");
|
||||
@ -2561,9 +2558,15 @@ void Emulator::Kill(bool allow_autoexit, bool savestate)
|
||||
m_config_mode = cfg_mode::custom;
|
||||
read_used_savestate_versions();
|
||||
m_savestate_extension_flags1 = {};
|
||||
|
||||
// Enable logging
|
||||
rpcs3::utils::configure_logs(true);
|
||||
return;
|
||||
}
|
||||
|
||||
// Enable logging
|
||||
rpcs3::utils::configure_logs(true);
|
||||
|
||||
sys_log.notice("Stopping emulator...");
|
||||
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user