diff options
author | bunnei <ericbunnie@gmail.com> | 2014-06-02 03:42:50 +0200 |
---|---|---|
committer | bunnei <ericbunnie@gmail.com> | 2014-06-02 03:42:50 +0200 |
commit | 10447d1f4831b495d7bef7711681ddd548f847a6 (patch) | |
tree | 7315bc1d8addcab21bd3e532f806811682c4eb01 /src/core/hle/kernel/kernel.cpp | |
parent | arm: added option to prepare CPU core (while mid-instruction) for thread reschedule (diff) | |
download | yuzu-10447d1f4831b495d7bef7711681ddd548f847a6.tar yuzu-10447d1f4831b495d7bef7711681ddd548f847a6.tar.gz yuzu-10447d1f4831b495d7bef7711681ddd548f847a6.tar.bz2 yuzu-10447d1f4831b495d7bef7711681ddd548f847a6.tar.lz yuzu-10447d1f4831b495d7bef7711681ddd548f847a6.tar.xz yuzu-10447d1f4831b495d7bef7711681ddd548f847a6.tar.zst yuzu-10447d1f4831b495d7bef7711681ddd548f847a6.zip |
Diffstat (limited to 'src/core/hle/kernel/kernel.cpp')
-rw-r--r-- | src/core/hle/kernel/kernel.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/core/hle/kernel/kernel.cpp b/src/core/hle/kernel/kernel.cpp index de80de893..c0c0fa177 100644 --- a/src/core/hle/kernel/kernel.cpp +++ b/src/core/hle/kernel/kernel.cpp @@ -14,6 +14,7 @@ namespace Kernel { +Handle g_main_thread = 0; ObjectPool g_object_pool; ObjectPool::ObjectPool() { @@ -150,7 +151,7 @@ bool LoadExec(u32 entry_point) { Core::g_app_core->SetPC(entry_point); // 0x30 is the typical main thread priority I've seen used so far - Handle thread = Kernel::SetupMainThread(0x30); + g_main_thread = Kernel::SetupMainThread(THREADPRIO_DEFAULT); return true; } |