mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-12 01:38:37 +12:00
Only silence logging during gameplay
This commit is contained in:
parent
8d54ddf426
commit
4aec48c2ca
4 changed files with 13 additions and 6 deletions
|
@ -791,6 +791,9 @@ game_boot_result Emulator::Load(const std::string& title_id, bool is_disc_patch,
|
|||
return game_boot_result::still_running;
|
||||
}
|
||||
|
||||
// Enable logging
|
||||
rpcs3::utils::configure_logs(true);
|
||||
|
||||
m_ar.reset();
|
||||
|
||||
{
|
||||
|
@ -2502,6 +2505,9 @@ 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.");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue