mirror of
https://github.com/yuzu-emu/yuzu-android.git
synced 2025-06-12 02:17:56 -05:00
Thread: Reduce use of Handles and move some funcs to inside the class.
This commit is contained in:
@ -16,6 +16,8 @@ const Handle INVALID_HANDLE = 0;
|
||||
|
||||
namespace Kernel {
|
||||
|
||||
class Thread;
|
||||
|
||||
// TODO: Verify code
|
||||
const ResultCode ERR_OUT_OF_HANDLES(ErrorDescription::OutOfMemory, ErrorModule::Kernel,
|
||||
ErrorSummary::OutOfResource, ErrorLevel::Temporary);
|
||||
@ -190,7 +192,7 @@ private:
|
||||
};
|
||||
|
||||
extern HandleTable g_handle_table;
|
||||
extern Handle g_main_thread;
|
||||
extern Thread* g_main_thread;
|
||||
|
||||
/// The ID code of the currently running game
|
||||
/// TODO(Subv): This variable should not be here,
|
||||
|
Reference in New Issue
Block a user