mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-04-21 03:55:32 +00:00
Log emulation pause/unpause events
This commit is contained in:
parent
dfbc49513d
commit
6a340afb8a
1 changed files with 6 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue