summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorYuri Kunde Schlesner <yuriks@yuriks.net>2017-06-23 08:56:17 +0200
committerYuri Kunde Schlesner <yuriks@yuriks.net>2017-06-23 20:22:04 +0200
commit8c6a8edacac4657c8cb75be86b9c4e6e7d1b7604 (patch)
treeddbd5ce174bff3bb31c07f18c73740f9b716aa46 /src
parentKernel: Implement CreateSessionToPort SVC (diff)
downloadyuzu-8c6a8edacac4657c8cb75be86b9c4e6e7d1b7604.tar
yuzu-8c6a8edacac4657c8cb75be86b9c4e6e7d1b7604.tar.gz
yuzu-8c6a8edacac4657c8cb75be86b9c4e6e7d1b7604.tar.bz2
yuzu-8c6a8edacac4657c8cb75be86b9c4e6e7d1b7604.tar.lz
yuzu-8c6a8edacac4657c8cb75be86b9c4e6e7d1b7604.tar.xz
yuzu-8c6a8edacac4657c8cb75be86b9c4e6e7d1b7604.tar.zst
yuzu-8c6a8edacac4657c8cb75be86b9c4e6e7d1b7604.zip
Diffstat (limited to 'src')
-rw-r--r--src/core/hle/function_wrappers.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/core/hle/function_wrappers.h b/src/core/hle/function_wrappers.h
index b19b64509..410bb87ea 100644
--- a/src/core/hle/function_wrappers.h
+++ b/src/core/hle/function_wrappers.h
@@ -226,9 +226,8 @@ void Wrap() {
u32 retval = func(&param_1, &param_2,
reinterpret_cast<const char*>(Memory::GetPointer(PARAM(2))), PARAM(3))
.raw;
- // The first out parameter is moved into R2 and the second is moved into R1.
- Core::CPU().SetReg(1, param_2);
- Core::CPU().SetReg(2, param_1);
+ Core::CPU().SetReg(1, param_1);
+ Core::CPU().SetReg(2, param_2);
FuncReturn(retval);
}