mirror of
https://github.com/xenia-project/xenia.git
synced 2026-04-20 22:13:40 +00:00
[Kernel] Fixed race condition crash related to missing ke_timestamp_bundle_ptr_
This commit is contained in:
parent
4c6e0ff685
commit
1fdf250f7d
1 changed files with 1 additions and 1 deletions
|
|
@ -991,10 +991,10 @@ uint32_t KernelState::CreateKeTimestampBundle() {
|
|||
|
||||
xe::store_and_swap<uint32_t>(&lpKeTimeStampBundle->padding, 0);
|
||||
|
||||
ke_timestamp_bundle_ptr_ = pKeTimeStampBundle;
|
||||
timestamp_timer_ = xe::threading::HighResolutionTimer::CreateRepeating(
|
||||
std::chrono::milliseconds(1),
|
||||
[this]() { this->UpdateKeTimestampBundle(); });
|
||||
ke_timestamp_bundle_ptr_ = pKeTimeStampBundle;
|
||||
return pKeTimeStampBundle;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue