mirror of
https://github.com/yuzu-emu/yuzu-android.git
synced 2025-06-30 03:48:00 -05:00
hle: kernel: Refactor IPC interfaces to not use std::shared_ptr.
This commit is contained in:
@ -343,7 +343,7 @@ bool Module::Interface::LoadAmiibo(const std::vector<u8>& buffer) {
|
||||
return true;
|
||||
}
|
||||
|
||||
const std::shared_ptr<Kernel::KReadableEvent>& Module::Interface::GetNFCEvent() const {
|
||||
Kernel::KReadableEvent* Module::Interface::GetNFCEvent() const {
|
||||
return nfc_tag_load->GetReadableEvent();
|
||||
}
|
||||
|
||||
|
@ -38,7 +38,7 @@ public:
|
||||
|
||||
void CreateUserInterface(Kernel::HLERequestContext& ctx);
|
||||
bool LoadAmiibo(const std::vector<u8>& buffer);
|
||||
const std::shared_ptr<Kernel::KReadableEvent>& GetNFCEvent() const;
|
||||
Kernel::KReadableEvent* GetNFCEvent() const;
|
||||
const AmiiboFile& GetAmiiboBuffer() const;
|
||||
|
||||
private:
|
||||
|
Reference in New Issue
Block a user