summaryrefslogtreecommitdiff
path: root/src/core/hle/kernel/thread.cpp
diff options
context:
space:
mode:
authorGravatar bunnei2014-06-01 21:42:50 -0400
committerGravatar bunnei2014-06-01 21:42:50 -0400
commit10447d1f4831b495d7bef7711681ddd548f847a6 (patch)
tree7315bc1d8addcab21bd3e532f806811682c4eb01 /src/core/hle/kernel/thread.cpp
parentarm: added option to prepare CPU core (while mid-instruction) for thread resc... (diff)
downloadyuzu-10447d1f4831b495d7bef7711681ddd548f847a6.tar.gz
yuzu-10447d1f4831b495d7bef7711681ddd548f847a6.tar.xz
yuzu-10447d1f4831b495d7bef7711681ddd548f847a6.zip
kernel: changed main thread priority to default, updated Kernel::Reschedule to use PrepareReschedule
Diffstat (limited to 'src/core/hle/kernel/thread.cpp')
-rw-r--r--src/core/hle/kernel/thread.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/core/hle/kernel/thread.cpp b/src/core/hle/kernel/thread.cpp
index d1e13c949..f2094f7a7 100644
--- a/src/core/hle/kernel/thread.cpp
+++ b/src/core/hle/kernel/thread.cpp
@@ -285,11 +285,11 @@ Handle CreateThread(const char* name, u32 entry_point, s32 priority, u32 arg, s3
285 285
286 HLE::EatCycles(32000); 286 HLE::EatCycles(32000);
287 287
288 CallThread(t);
289
288 // This won't schedule to the new thread, but it may to one woken from eating cycles. 290 // This won't schedule to the new thread, but it may to one woken from eating cycles.
289 // Technically, this should not eat all at once, and reschedule in the middle, but that's hard. 291 // Technically, this should not eat all at once, and reschedule in the middle, but that's hard.
290 HLE::ReSchedule("thread created"); 292 //HLE::Reschedule("thread created");
291
292 CallThread(t);
293 293
294 return handle; 294 return handle;
295} 295}