aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/hle/service/jit
diff options
context:
space:
mode:
authorLiam <[email protected]>2023-12-24 19:30:16 -0500
committerLiam <[email protected]>2023-12-24 19:36:42 -0500
commit47e44a6693ad2e8c7fbdaa23ed440d9780e1d54b (patch)
treee5102e449dbec63dda46188ea2fe98691caef857 /src/core/hle/service/jit
parentcf8c7d4ed3cb3f314395156f0436a1325db9b68a (diff)
downloadyuzu-mainline-47e44a6693ad2e8c7fbdaa23ed440d9780e1d54b.tar.gz
yuzu-mainline-47e44a6693ad2e8c7fbdaa23ed440d9780e1d54b.zip
am/jit: reference memory instance from context
Diffstat (limited to 'src/core/hle/service/jit')
-rw-r--r--src/core/hle/service/jit/jit.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/hle/service/jit/jit.cpp b/src/core/hle/service/jit/jit.cpp
index 8648c76fa..a94d05e19 100644
--- a/src/core/hle/service/jit/jit.cpp
+++ b/src/core/hle/service/jit/jit.cpp
@@ -26,7 +26,7 @@ public:
explicit IJitEnvironment(Core::System& system_, Kernel::KProcess& process_, CodeRange user_rx,
CodeRange user_ro)
: ServiceFramework{system_, "IJitEnvironment"}, process{&process_},
- context{system_.ApplicationMemory()} {
+ context{process->GetMemory()} {
// clang-format off
static const FunctionInfo functions[] = {
{0, &IJitEnvironment::GenerateCode, "GenerateCode"},