summaryrefslogtreecommitdiffstats
path: root/src/core/hle
diff options
context:
space:
mode:
authorbunnei <ericbunnie@gmail.com>2014-04-25 21:26:27 +0200
committerbunnei <ericbunnie@gmail.com>2014-04-25 21:26:27 +0200
commite08f24214110d713a07c2cfb0e5202520a9eccd6 (patch)
treeba3fd6c742b212fe9962a105e2e5f3cdfbc1492c /src/core/hle
parent- added preliminary support for svc_MapMemoryBlock (diff)
downloadyuzu-e08f24214110d713a07c2cfb0e5202520a9eccd6.tar
yuzu-e08f24214110d713a07c2cfb0e5202520a9eccd6.tar.gz
yuzu-e08f24214110d713a07c2cfb0e5202520a9eccd6.tar.bz2
yuzu-e08f24214110d713a07c2cfb0e5202520a9eccd6.tar.lz
yuzu-e08f24214110d713a07c2cfb0e5202520a9eccd6.tar.xz
yuzu-e08f24214110d713a07c2cfb0e5202520a9eccd6.tar.zst
yuzu-e08f24214110d713a07c2cfb0e5202520a9eccd6.zip
Diffstat (limited to 'src/core/hle')
-rw-r--r--src/core/hle/syscall.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/hle/syscall.cpp b/src/core/hle/syscall.cpp
index de1c11862..df6412743 100644
--- a/src/core/hle/syscall.cpp
+++ b/src/core/hle/syscall.cpp
@@ -26,7 +26,7 @@ enum MapMemoryPermission {
};
/// Map application or GSP heap memory
-Result ControlMemory(void* outaddr, u32 addr0, u32 addr1, u32 size, u32 operation, u32 permissions) {
+Result ControlMemory(u32 operation, u32 addr0, u32 addr1, u32 size, u32 permissions) {
u32 virtual_address = 0x00000000;
switch (operation) {
@@ -93,7 +93,7 @@ Result WaitSynchronization1(Handle handle, s64 nanoseconds) {
const HLE::FunctionDef Syscall_Table[] = {
{0x00, NULL, "Unknown"},
- {0x01, WrapI_VUUUUU<ControlMemory>, "ControlMemory"},
+ {0x01, WrapI_UUUUU<ControlMemory>, "ControlMemory"},
{0x02, NULL, "QueryMemory"},
{0x03, NULL, "ExitProcess"},
{0x04, NULL, "GetProcessAffinityMask"},