diff options
author | Yuri Kunde Schlesner <yuriks@yuriks.net> | 2015-01-31 22:22:40 +0100 |
---|---|---|
committer | Yuri Kunde Schlesner <yuriks@yuriks.net> | 2015-02-02 18:37:06 +0100 |
commit | 4e84df8be30c5bac65e4c4e9faf07bf0fc3fb33a (patch) | |
tree | 4e5ea0a4d5525843f41ad19530da872bc5ccda25 /src/core/hle/kernel/thread.cpp | |
parent | HID: Fix crash when pressing a key when the emulator is stopped (diff) | |
download | yuzu-4e84df8be30c5bac65e4c4e9faf07bf0fc3fb33a.tar yuzu-4e84df8be30c5bac65e4c4e9faf07bf0fc3fb33a.tar.gz yuzu-4e84df8be30c5bac65e4c4e9faf07bf0fc3fb33a.tar.bz2 yuzu-4e84df8be30c5bac65e4c4e9faf07bf0fc3fb33a.tar.lz yuzu-4e84df8be30c5bac65e4c4e9faf07bf0fc3fb33a.tar.xz yuzu-4e84df8be30c5bac65e4c4e9faf07bf0fc3fb33a.tar.zst yuzu-4e84df8be30c5bac65e4c4e9faf07bf0fc3fb33a.zip |
Diffstat (limited to 'src/core/hle/kernel/thread.cpp')
-rw-r--r-- | src/core/hle/kernel/thread.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/core/hle/kernel/thread.cpp b/src/core/hle/kernel/thread.cpp index 2fae1b3bc..3c6669ca2 100644 --- a/src/core/hle/kernel/thread.cpp +++ b/src/core/hle/kernel/thread.cpp @@ -40,6 +40,9 @@ static Thread* current_thread; static const u32 INITIAL_THREAD_ID = 1; ///< The first available thread id at startup static u32 next_thread_id; ///< The next available thread id +Thread::Thread() { +} + Thread* GetCurrentThread() { return current_thread; } |