Kernel: Remove g_program_id
This has been obsoleted by the field in Process.
This commit is contained in:
parent
6d60acf0f1
commit
a5eba2f984
6 changed files with 3 additions and 21 deletions
|
@ -19,7 +19,6 @@ namespace Kernel {
|
|||
unsigned int Object::next_object_id;
|
||||
SharedPtr<Thread> g_main_thread;
|
||||
HandleTable g_handle_table;
|
||||
u64 g_program_id;
|
||||
|
||||
void WaitObject::AddWaitingThread(SharedPtr<Thread> thread) {
|
||||
auto itr = std::find(waiting_threads.begin(), waiting_threads.end(), thread);
|
||||
|
@ -141,7 +140,6 @@ void Init() {
|
|||
Kernel::TimersInit();
|
||||
|
||||
Object::next_object_id = 0;
|
||||
g_program_id = 0;
|
||||
g_main_thread = nullptr;
|
||||
}
|
||||
|
||||
|
|
|
@ -273,12 +273,6 @@ private:
|
|||
|
||||
extern HandleTable g_handle_table;
|
||||
|
||||
/// The ID code of the currently running game
|
||||
/// TODO(Subv): This variable should not be here,
|
||||
/// we need a way to store information about the currently loaded application
|
||||
/// for later query during runtime, maybe using the LDR service?
|
||||
extern u64 g_program_id;
|
||||
|
||||
/// Initialize the kernel
|
||||
void Init();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue