From 35e3c6802832f7396a04603edca9434acc6d3972 Mon Sep 17 00:00:00 2001 From: Liam Date: Tue, 30 Jan 2024 02:27:27 -0500 Subject: service: use const references for input raw data --- src/core/hle/service/jit/jit.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/core/hle/service/jit') 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& tmem, + Result LoadPlugin(u64 tmem_size, InCopyHandle tmem, InBuffer nrr, InBuffer nro) { if (!tmem) { @@ -268,9 +268,9 @@ public: private: Result CreateJitEnvironment(Out> out_jit_environment, - u64 rx_size, u64 ro_size, InCopyHandle& process, - InCopyHandle& rx_mem, - InCopyHandle& ro_mem) { + u64 rx_size, u64 ro_size, InCopyHandle process, + InCopyHandle rx_mem, + InCopyHandle ro_mem) { if (!process) { LOG_ERROR(Service_JIT, "process is null"); R_THROW(ResultUnknown); -- cgit v1.2.3