diff --git a/src/core/hle/kernel/svc.cpp b/src/core/hle/kernel/svc.cpp index 8370e62bc4..ea40f278f8 100644 --- a/src/core/hle/kernel/svc.cpp +++ b/src/core/hle/kernel/svc.cpp @@ -1942,6 +1942,10 @@ static void SvcWrap_UnmapProcessCodeMemory64From32(Core::System& system, std::sp uint64_t src_address{}; uint64_t size{}; + LOG_DEBUG(Kernel_SVC, "Raw args: [0]={:#x} [1]={:#x} [2]={:#x} [3]={:#x} [4]={:#x} [5]={:#x} [6]={:#x}", + GetArg32(args, 0), GetArg32(args, 1), GetArg32(args, 2), + GetArg32(args, 3), GetArg32(args, 4), GetArg32(args, 5), GetArg32(args, 6)); + process_handle = Convert(GetArg32(args, 0)); std::array dst_address_gather{}; dst_address_gather[0] = GetArg32(args, 2); @@ -1956,6 +1960,9 @@ static void SvcWrap_UnmapProcessCodeMemory64From32(Core::System& system, std::sp size_gather[1] = GetArg32(args, 6); size = Convert(size_gather); + LOG_DEBUG(Kernel_SVC, "Reconstructed: handle={:#x} dst={:#x} src={:#x} size={:#x}", + process_handle, dst_address, src_address, size); + ret = UnmapProcessCodeMemory64From32(system, process_handle, dst_address, src_address, size); SetArg32(args, 0, Convert(ret));