diff options
author | Yuri Kunde Schlesner <yuriks@yuriks.net> | 2014-12-20 06:04:36 +0100 |
---|---|---|
committer | Yuri Kunde Schlesner <yuriks@yuriks.net> | 2014-12-20 06:27:47 +0100 |
commit | adee775f443abfc17c0fe78a7487346e00b13ebc (patch) | |
tree | 3ed4e1e00a2ed7caf8009be1f4af5071ff884286 /src/core/hle/kernel/thread.cpp | |
parent | Merge pull request #286 from yuriks/msvc-fix (diff) | |
download | yuzu-adee775f443abfc17c0fe78a7487346e00b13ebc.tar yuzu-adee775f443abfc17c0fe78a7487346e00b13ebc.tar.gz yuzu-adee775f443abfc17c0fe78a7487346e00b13ebc.tar.bz2 yuzu-adee775f443abfc17c0fe78a7487346e00b13ebc.tar.lz yuzu-adee775f443abfc17c0fe78a7487346e00b13ebc.tar.xz yuzu-adee775f443abfc17c0fe78a7487346e00b13ebc.tar.zst yuzu-adee775f443abfc17c0fe78a7487346e00b13ebc.zip |
Diffstat (limited to 'src/core/hle/kernel/thread.cpp')
-rw-r--r-- | src/core/hle/kernel/thread.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/core/hle/kernel/thread.cpp b/src/core/hle/kernel/thread.cpp index 1c04701de..47be22653 100644 --- a/src/core/hle/kernel/thread.cpp +++ b/src/core/hle/kernel/thread.cpp @@ -83,8 +83,7 @@ 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 -/// Gets the current thread -inline Thread* GetCurrentThread() { +Thread* GetCurrentThread() { return current_thread; } |