diff options
| author | 2014-06-06 23:34:49 -0400 | |
|---|---|---|
| committer | 2014-06-13 09:51:16 -0400 | |
| commit | 4620e2a741735a18f3a331037f86b3aae0f9fc6d (patch) | |
| tree | 3c6c60c8ab071c6455bc8c1c61c4f828007c1f95 /src/core/hle/kernel/thread.cpp | |
| parent | SVC: Cleaned up function wrappers to pass in correct argument types. (diff) | |
| download | yuzu-4620e2a741735a18f3a331037f86b3aae0f9fc6d.tar.gz yuzu-4620e2a741735a18f3a331037f86b3aae0f9fc6d.tar.xz yuzu-4620e2a741735a18f3a331037f86b3aae0f9fc6d.zip | |
HLE: Removed usnused EatCycles function.
Diffstat (limited to 'src/core/hle/kernel/thread.cpp')
| -rw-r--r-- | src/core/hle/kernel/thread.cpp | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/core/hle/kernel/thread.cpp b/src/core/hle/kernel/thread.cpp index cb5b89379..ebe308a93 100644 --- a/src/core/hle/kernel/thread.cpp +++ b/src/core/hle/kernel/thread.cpp | |||
| @@ -337,15 +337,8 @@ Handle CreateThread(const char* name, u32 entry_point, s32 priority, u32 arg, s3 | |||
| 337 | stack_size); | 337 | stack_size); |
| 338 | 338 | ||
| 339 | ResetThread(t, arg, 0); | 339 | ResetThread(t, arg, 0); |
| 340 | |||
| 341 | HLE::EatCycles(32000); | ||
| 342 | |||
| 343 | CallThread(t); | 340 | CallThread(t); |
| 344 | 341 | ||
| 345 | // This won't schedule to the new thread, but it may to one woken from eating cycles. | ||
| 346 | // Technically, this should not eat all at once, and reschedule in the middle, but that's hard. | ||
| 347 | //HLE::Reschedule(__func__); | ||
| 348 | |||
| 349 | return handle; | 342 | return handle; |
| 350 | } | 343 | } |
| 351 | 344 | ||
| @@ -389,8 +382,6 @@ Result SetThreadPriority(Handle handle, s32 priority) { | |||
| 389 | g_thread_ready_queue.push_back(thread->current_priority, handle); | 382 | g_thread_ready_queue.push_back(thread->current_priority, handle); |
| 390 | } | 383 | } |
| 391 | 384 | ||
| 392 | HLE::EatCycles(450); | ||
| 393 | |||
| 394 | return 0; | 385 | return 0; |
| 395 | } | 386 | } |
| 396 | 387 | ||