summaryrefslogtreecommitdiffstats
path: root/src/core/hle/kernel
diff options
context:
space:
mode:
authorYuri Kunde Schlesner <yuriks@yuriks.net>2015-05-07 02:40:39 +0200
committerYuri Kunde Schlesner <yuriks@yuriks.net>2015-05-09 03:11:03 +0200
commita5eba2f98466cd2788aab96f1ad93bcb32c5656c (patch)
tree231d164d039d2ae4cd69ae7cf44da2f16fc4be71 /src/core/hle/kernel
parentKernel: Introduce skeleton Process class to hold process data (diff)
downloadyuzu-a5eba2f98466cd2788aab96f1ad93bcb32c5656c.tar
yuzu-a5eba2f98466cd2788aab96f1ad93bcb32c5656c.tar.gz
yuzu-a5eba2f98466cd2788aab96f1ad93bcb32c5656c.tar.bz2
yuzu-a5eba2f98466cd2788aab96f1ad93bcb32c5656c.tar.lz
yuzu-a5eba2f98466cd2788aab96f1ad93bcb32c5656c.tar.xz
yuzu-a5eba2f98466cd2788aab96f1ad93bcb32c5656c.tar.zst
yuzu-a5eba2f98466cd2788aab96f1ad93bcb32c5656c.zip
Diffstat (limited to 'src/core/hle/kernel')
-rw-r--r--src/core/hle/kernel/kernel.cpp2
-rw-r--r--src/core/hle/kernel/kernel.h6
2 files changed, 0 insertions, 8 deletions
diff --git a/src/core/hle/kernel/kernel.cpp b/src/core/hle/kernel/kernel.cpp
index 9c8d6fa36..5157ab2af 100644
--- a/src/core/hle/kernel/kernel.cpp
+++ b/src/core/hle/kernel/kernel.cpp
@@ -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;
}
diff --git a/src/core/hle/kernel/kernel.h b/src/core/hle/kernel/kernel.h
index d0c69677a..7c106d37c 100644
--- a/src/core/hle/kernel/kernel.h
+++ b/src/core/hle/kernel/kernel.h
@@ -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();