mirror of
https://github.com/yuzu-emu/yuzu.git
synced 2025-06-10 22:47:56 -05:00
hle: kernel: Refactor IPC interfaces to not use std::shared_ptr.
This commit is contained in:
@ -1976,7 +1976,7 @@ static ResultCode CreateEvent(Core::System& system, Handle* out_write, Handle* o
|
||||
auto handle_guard = SCOPE_GUARD({ handle_table.Remove(*write_create_result); });
|
||||
|
||||
// Add the readable event to the handle table.
|
||||
const auto read_create_result = handle_table.Create(event->GetReadableEvent());
|
||||
const auto read_create_result = handle_table.Create(SharedFrom(event->GetReadableEvent()));
|
||||
if (read_create_result.Failed()) {
|
||||
return read_create_result.Code();
|
||||
}
|
||||
|
Reference in New Issue
Block a user