mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-01-29 00:33:01 +00:00
Log emulation pause/unpause events
This commit is contained in:
parent
dfbc49513d
commit
6a340afb8a
@ -1434,6 +1434,10 @@ bool Emulator::Pause()
|
||||
|
||||
GetCallbacks().on_pause();
|
||||
|
||||
static atomic_t<u32> pause_mark = 0;
|
||||
|
||||
sys_log.success("Emulation is being paused... (mark=%u)", pause_mark++);
|
||||
|
||||
// Update pause start time
|
||||
if (m_pause_start_time.exchange(start))
|
||||
{
|
||||
@ -1529,6 +1533,8 @@ void Emulator::Resume()
|
||||
|
||||
GetCallbacks().on_resume();
|
||||
|
||||
sys_log.success("Emulation has been resumed!");
|
||||
|
||||
if (g_cfg.misc.prevent_display_sleep)
|
||||
{
|
||||
disable_display_sleep();
|
||||
|
Loading…
x
Reference in New Issue
Block a user