mirror of
https://github.com/yuzu-emu/yuzu.git
synced 2025-06-24 18:37:52 -05:00
kernel/thread: Remove global GetCurrentThread()
This is only used in one place, so we can fold it into the calling code, eliminating a place for the global system instance to be used.
This commit is contained in:
@ -680,9 +680,4 @@ private:
|
||||
std::string name;
|
||||
};
|
||||
|
||||
/**
|
||||
* Gets the current thread
|
||||
*/
|
||||
Thread* GetCurrentThread();
|
||||
|
||||
} // namespace Kernel
|
||||
|
Reference in New Issue
Block a user