mirror of
https://github.com/yuzu-emu/yuzu.git
synced 2025-06-20 19:57:54 -05:00
Kernel: Remove g_program_id
This has been obsoleted by the field in Process.
This commit is contained in:
@ -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();
|
||||
|
||||
|
Reference in New Issue
Block a user