diff options
author | bunnei <ericbunnie@gmail.com> | 2014-05-21 00:28:38 +0200 |
---|---|---|
committer | bunnei <ericbunnie@gmail.com> | 2014-05-21 00:28:38 +0200 |
commit | 143bba20453036f0a4bcc74dad10d99605a84732 (patch) | |
tree | e4ed8a6f74eb6533625b3196e23056a5fc529c4f /src/core/hle/svc.cpp | |
parent | thread: whitespace change - fixed * and & placement (diff) | |
download | yuzu-143bba20453036f0a4bcc74dad10d99605a84732.tar yuzu-143bba20453036f0a4bcc74dad10d99605a84732.tar.gz yuzu-143bba20453036f0a4bcc74dad10d99605a84732.tar.bz2 yuzu-143bba20453036f0a4bcc74dad10d99605a84732.tar.lz yuzu-143bba20453036f0a4bcc74dad10d99605a84732.tar.xz yuzu-143bba20453036f0a4bcc74dad10d99605a84732.tar.zst yuzu-143bba20453036f0a4bcc74dad10d99605a84732.zip |
Diffstat (limited to '')
-rw-r--r-- | src/core/hle/svc.cpp (renamed from src/core/hle/syscall.cpp) | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/src/core/hle/syscall.cpp b/src/core/hle/svc.cpp index 9a1235246..a9141699c 100644 --- a/src/core/hle/syscall.cpp +++ b/src/core/hle/svc.cpp @@ -13,14 +13,14 @@ #include "core/hle/kernel/thread.h" #include "core/hle/function_wrappers.h" -#include "core/hle/syscall.h" +#include "core/hle/svc.h" #include "core/hle/service/service.h" #include "core/hle/kernel/thread.h" //////////////////////////////////////////////////////////////////////////////////////////////////// -// Namespace Syscall +// Namespace SVC -namespace Syscall { +namespace SVC { enum ControlMemoryOperation { MEMORY_OPERATION_HEAP = 0x00000003, @@ -123,6 +123,8 @@ Result WaitSynchronizationN(void* _out, void* _handles, u32 handle_count, u32 wa for (u32 i = 0; i < handle_count; i++) { DEBUG_LOG(SVC, "\thandle[%d]=0x%08X", i, handles[i]); } + __KernelReschedule("WaitSynchronizationN"); + return 0; } @@ -212,7 +214,7 @@ Result CreateEvent(void* _event, u32 reset_type) { return 0; } -const HLE::FunctionDef Syscall_Table[] = { +const HLE::FunctionDef SVC_Table[] = { {0x00, NULL, "Unknown"}, {0x01, WrapI_VUUUUU<ControlMemory>, "ControlMemory"}, {0x02, WrapI_VVU<QueryMemory>, "QueryMemory"}, @@ -342,7 +344,7 @@ const HLE::FunctionDef Syscall_Table[] = { }; void Register() { - HLE::RegisterModule("SyscallTable", ARRAY_SIZE(Syscall_Table), Syscall_Table); + HLE::RegisterModule("SVC_Table", ARRAY_SIZE(SVC_Table), SVC_Table); } } // namespace |