mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2025-10-15 18:37:49 +00:00
am/jit: reference memory instance from context
This commit is contained in:
parent
ac1e946390
commit
7836881b24
3 changed files with 7 additions and 5 deletions
|
@ -360,6 +360,10 @@ public:
|
|||
return *thread;
|
||||
}
|
||||
|
||||
[[nodiscard]] Core::Memory::Memory& GetMemory() const {
|
||||
return memory;
|
||||
}
|
||||
|
||||
template <typename T>
|
||||
Kernel::KScopedAutoObject<T> GetObjectFromHandle(u32 handle) {
|
||||
auto obj = client_handle_table->GetObjectForIpc(handle, thread);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue