diff --git a/rpcs3/Emu/CPU/CPUThread.cpp b/rpcs3/Emu/CPU/CPUThread.cpp index 1f9e50b208..1ecd4bce82 100644 --- a/rpcs3/Emu/CPU/CPUThread.cpp +++ b/rpcs3/Emu/CPU/CPUThread.cpp @@ -676,7 +676,6 @@ cpu_thread::~cpu_thread() cpu_thread::cpu_thread(u32 id) : id(id) - , m_class(get_thread_class(id_type())) { while (Emu.GetStatus() == system_state::paused) { diff --git a/rpcs3/Emu/CPU/CPUThread.h b/rpcs3/Emu/CPU/CPUThread.h index 1bce256c9e..89c6f21c30 100644 --- a/rpcs3/Emu/CPU/CPUThread.h +++ b/rpcs3/Emu/CPU/CPUThread.h @@ -120,7 +120,7 @@ public: thread_class get_class() const { - return m_class; + return get_thread_class(id_type()); } template T> @@ -301,7 +301,6 @@ public: private: static thread_local cpu_thread* g_tls_this_thread; - const thread_class m_class; }; template T = cpu_thread>