diff options
| author | 2023-12-24 19:30:16 -0500 | |
|---|---|---|
| committer | 2023-12-24 19:36:42 -0500 | |
| commit | 47e44a6693ad2e8c7fbdaa23ed440d9780e1d54b (patch) | |
| tree | e5102e449dbec63dda46188ea2fe98691caef857 /src/core/hle/service/jit | |
| parent | kernel: remove unecessary process member from handle table (diff) | |
| download | yuzu-47e44a6693ad2e8c7fbdaa23ed440d9780e1d54b.tar.gz yuzu-47e44a6693ad2e8c7fbdaa23ed440d9780e1d54b.tar.xz yuzu-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.cpp | 2 |
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: | |||
| 26 | explicit IJitEnvironment(Core::System& system_, Kernel::KProcess& process_, CodeRange user_rx, | 26 | explicit IJitEnvironment(Core::System& system_, Kernel::KProcess& process_, CodeRange user_rx, |
| 27 | CodeRange user_ro) | 27 | CodeRange user_ro) |
| 28 | : ServiceFramework{system_, "IJitEnvironment"}, process{&process_}, | 28 | : ServiceFramework{system_, "IJitEnvironment"}, process{&process_}, |
| 29 | context{system_.ApplicationMemory()} { | 29 | context{process->GetMemory()} { |
| 30 | // clang-format off | 30 | // clang-format off |
| 31 | static const FunctionInfo functions[] = { | 31 | static const FunctionInfo functions[] = { |
| 32 | {0, &IJitEnvironment::GenerateCode, "GenerateCode"}, | 32 | {0, &IJitEnvironment::GenerateCode, "GenerateCode"}, |