mirror of
https://github.com/RPCS3/rpcs3.git
synced 2024-11-16 23:17:29 +00:00
Move initialize_timebased_time call to a safer spot
This commit is contained in:
parent
e6f1e598a9
commit
87fc5e4923
@ -3287,8 +3287,6 @@ void Emulator::Kill(bool allow_autoexit, bool savestate, savestate_stage* save_s
|
||||
{
|
||||
cpu_thread::cleanup();
|
||||
|
||||
initialize_timebased_time(0, true);
|
||||
|
||||
lv2_obj::cleanup();
|
||||
|
||||
g_fxo->reset();
|
||||
@ -3342,6 +3340,8 @@ void Emulator::Kill(bool allow_autoexit, bool savestate, savestate_stage* save_s
|
||||
m_savestate_extension_flags1 = {};
|
||||
m_savestate_pending = false;
|
||||
|
||||
initialize_timebased_time(0, true);
|
||||
|
||||
// Complete the operation
|
||||
m_state = system_state::stopped;
|
||||
GetCallbacks().on_stop();
|
||||
|
@ -311,7 +311,7 @@ namespace stx
|
||||
u16 saved = tag;
|
||||
ar(saved);
|
||||
|
||||
sys_log.trace("serial_breathe_and_tag(): %s, object: '%s', next-object: '%s', expected/tag: 0x%x == 0x%x", ar, s_tls_object_name, name, tag, saved);
|
||||
sys_log.warning("serial_breathe_and_tag(): %s, object: '%s', next-object: '%s', expected/tag: 0x%x == 0x%x", ar, s_tls_object_name, name, tag, saved);
|
||||
|
||||
if ((saved ^ tag) & data_mask)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user