aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/hle/kernel/thread.cpp
diff options
context:
space:
mode:
authorGravatar bunnei <ericbunnie@gmail.com>2014-06-06 23:34:49 -0400
committerGravatar bunnei <ericbunnie@gmail.com>2014-06-13 09:51:16 -0400
commit4620e2a741735a18f3a331037f86b3aae0f9fc6d (patch)
tree3c6c60c8ab071c6455bc8c1c61c4f828007c1f95 /src/core/hle/kernel/thread.cpp
parent862db811f02f8d28c4537a6be7b6a8f6c8fec812 (diff)
HLE: Removed usnused EatCycles function.
Diffstat (limited to 'src/core/hle/kernel/thread.cpp')
-rw-r--r--src/core/hle/kernel/thread.cpp9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/core/hle/kernel/thread.cpp b/src/core/hle/kernel/thread.cpp
index cb5b8937..ebe308a9 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
stack_size);
ResetThread(t, arg, 0);
-
- HLE::EatCycles(32000);
-
CallThread(t);
- // This won't schedule to the new thread, but it may to one woken from eating cycles.
- // Technically, this should not eat all at once, and reschedule in the middle, but that's hard.
- //HLE::Reschedule(__func__);
-
return handle;
}
@@ -389,8 +382,6 @@ Result SetThreadPriority(Handle handle, s32 priority) {
g_thread_ready_queue.push_back(thread->current_priority, handle);
}
- HLE::EatCycles(450);
-
return 0;
}