mirror of
https://github.com/yuzu-emu/yuzu-android.git
synced 2025-07-01 17:37:52 -05:00
hle: kernel: Refactor IPC interfaces to not use std::shared_ptr.
This commit is contained in:
@ -194,7 +194,7 @@ std::shared_ptr<Kernel::KWritableEvent> BufferQueue::GetWritableBufferWaitEvent(
|
||||
}
|
||||
|
||||
std::shared_ptr<Kernel::KReadableEvent> BufferQueue::GetBufferWaitEvent() const {
|
||||
return buffer_wait_event->GetReadableEvent();
|
||||
return SharedFrom(buffer_wait_event->GetReadableEvent());
|
||||
}
|
||||
|
||||
} // namespace Service::NVFlinger
|
||||
|
@ -13,6 +13,7 @@
|
||||
#include "common/common_funcs.h"
|
||||
#include "common/math_util.h"
|
||||
#include "common/swap.h"
|
||||
#include "core/hle/kernel/k_readable_event.h"
|
||||
#include "core/hle/kernel/object.h"
|
||||
#include "core/hle/service/nvdrv/nvdata.h"
|
||||
|
||||
|
Reference in New Issue
Block a user