mirror of
https://github.com/xenia-project/xenia.git
synced 2026-04-20 22:13:40 +00:00
[Kernel] Ensure file mutex is initialized
This commit is contained in:
parent
81dd887e74
commit
137baa2b9f
1 changed files with 1 additions and 1 deletions
|
|
@ -24,7 +24,7 @@ XFile::XFile(KernelState* kernel_state, vfs::File* file, bool synchronous)
|
|||
assert_not_null(async_event_);
|
||||
}
|
||||
|
||||
XFile::XFile() : XObject(kObjectType) {
|
||||
XFile::XFile() : XObject(kObjectType), completion_port_lock_() {
|
||||
async_event_ = threading::Event::CreateAutoResetEvent(false);
|
||||
assert_not_null(async_event_);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue