diff options
| author | Liam <byteslice@airmail.cc> | 2024-01-30 02:27:27 -0500 |
|---|---|---|
| committer | Liam <byteslice@airmail.cc> | 2024-02-01 12:57:54 -0500 |
| commit | 35e3c6802832f7396a04603edca9434acc6d3972 (patch) | |
| tree | 52eaad3e62761c3c0a5738620f4201322de6fc3f /src/core/hle/service/jit | |
| parent | 3212bf529428f4dc45ccce550c956276557c52fb (diff) | |
service: use const references for input raw data
Diffstat (limited to 'src/core/hle/service/jit')
| -rw-r--r-- | src/core/hle/service/jit/jit.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/core/hle/service/jit/jit.cpp b/src/core/hle/service/jit/jit.cpp index 1f2cbcb61..4941a71a0 100644 --- a/src/core/hle/service/jit/jit.cpp +++ b/src/core/hle/service/jit/jit.cpp @@ -126,7 +126,7 @@ public: R_THROW(ResultUnknown); } - Result LoadPlugin(u64 tmem_size, InCopyHandle<Kernel::KTransferMemory>& tmem, + Result LoadPlugin(u64 tmem_size, InCopyHandle<Kernel::KTransferMemory> tmem, InBuffer<BufferAttr_HipcMapAlias> nrr, InBuffer<BufferAttr_HipcMapAlias> nro) { if (!tmem) { @@ -268,9 +268,9 @@ public: private: Result CreateJitEnvironment(Out<SharedPointer<IJitEnvironment>> out_jit_environment, - u64 rx_size, u64 ro_size, InCopyHandle<Kernel::KProcess>& process, - InCopyHandle<Kernel::KCodeMemory>& rx_mem, - InCopyHandle<Kernel::KCodeMemory>& ro_mem) { + u64 rx_size, u64 ro_size, InCopyHandle<Kernel::KProcess> process, + InCopyHandle<Kernel::KCodeMemory> rx_mem, + InCopyHandle<Kernel::KCodeMemory> ro_mem) { if (!process) { LOG_ERROR(Service_JIT, "process is null"); R_THROW(ResultUnknown); |
