mirror of
https://git.citron-emu.org/citron/emulator
synced 2025-12-20 19:13:56 +00:00
Kernel: Implement support for current thread pseudo-handle
This boots a few (mostly Nintendo 1st party) games further.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user