mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-05 14:37:08 +00:00
CPUThread.cpp: Fix an emulator crash on game exit
This commit is contained in:
parent
e29b81c444
commit
23c710cf53
2 changed files with 8 additions and 1 deletions
|
|
@ -602,7 +602,7 @@ void kernel_explorer::update()
|
|||
std::optional<std::scoped_lock<shared_mutex, shared_mutex>> lock_idm_lv2(std::in_place, id_manager::g_mutex, lv2_obj::g_mutex);
|
||||
|
||||
// Postponed as much as possible for time accuracy
|
||||
u64 current_time_storage = get_guest_system_time();
|
||||
u64 current_time_storage = 0;
|
||||
|
||||
auto get_current_time = [¤t_time_storage]()
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue