mirror of
https://github.com/yuzu-emu/yuzu.git
synced 2025-06-22 21:37:53 -05:00
am/jit: reference memory instance from context
This commit is contained in:
@ -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);
|
||||
|
Reference in New Issue
Block a user