diff options
| author | 2014-05-20 19:37:46 -0400 | |
|---|---|---|
| committer | 2014-05-20 19:37:46 -0400 | |
| commit | 75c6d2a8fa3547946227094af6c179e5ccba0e1e (patch) | |
| tree | 6199164fdc1745d6b12333b0b2efc269e8c7ee5d /src/core/hle/svc.cpp | |
| parent | ARM_Interpreter/ARM_Interface: Fixed member variable naming to be consistent ... (diff) | |
| download | yuzu-75c6d2a8fa3547946227094af6c179e5ccba0e1e.tar.gz yuzu-75c6d2a8fa3547946227094af6c179e5ccba0e1e.tar.xz yuzu-75c6d2a8fa3547946227094af6c179e5ccba0e1e.zip | |
thread: moved threading calls to the Kernel namespace
Diffstat (limited to 'src/core/hle/svc.cpp')
| -rw-r--r-- | src/core/hle/svc.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/hle/svc.cpp b/src/core/hle/svc.cpp index a9141699c..6f0f099c6 100644 --- a/src/core/hle/svc.cpp +++ b/src/core/hle/svc.cpp | |||
| @@ -123,7 +123,7 @@ Result WaitSynchronizationN(void* _out, void* _handles, u32 handle_count, u32 wa | |||
| 123 | for (u32 i = 0; i < handle_count; i++) { | 123 | for (u32 i = 0; i < handle_count; i++) { |
| 124 | DEBUG_LOG(SVC, "\thandle[%d]=0x%08X", i, handles[i]); | 124 | DEBUG_LOG(SVC, "\thandle[%d]=0x%08X", i, handles[i]); |
| 125 | } | 125 | } |
| 126 | __KernelReschedule("WaitSynchronizationN"); | 126 | Kernel::Reschedule("WaitSynchronizationN"); |
| 127 | 127 | ||
| 128 | return 0; | 128 | return 0; |
| 129 | } | 129 | } |
| @@ -175,7 +175,7 @@ Result CreateThread(void* thread, u32 priority, u32 entry_point, u32 arg, u32 st | |||
| 175 | "threadpriority=0x%08X, processorid=0x%08X", entry_point, name.c_str(), arg, stack_top, | 175 | "threadpriority=0x%08X, processorid=0x%08X", entry_point, name.c_str(), arg, stack_top, |
| 176 | priority, processor_id); | 176 | priority, processor_id); |
| 177 | 177 | ||
| 178 | Handle handle = __KernelCreateThread(name.c_str(), entry_point, priority, processor_id, | 178 | Handle handle = Kernel::CreateThread(name.c_str(), entry_point, priority, processor_id, |
| 179 | stack_top); | 179 | stack_top); |
| 180 | Core::g_app_core->SetReg(1, 0xFEEDDEAF); | 180 | Core::g_app_core->SetReg(1, 0xFEEDDEAF); |
| 181 | 181 | ||