mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-04-20 03:25:16 +00:00
CPUThread: remove m_class member due to bad ppu cache design
This commit is contained in:
parent
2637dc35a7
commit
10d85d4f51
2 changed files with 1 additions and 3 deletions
|
@ -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)
|
||||
{
|
||||
|
|
|
@ -120,7 +120,7 @@ public:
|
|||
|
||||
thread_class get_class() const
|
||||
{
|
||||
return m_class;
|
||||
return get_thread_class(id_type());
|
||||
}
|
||||
|
||||
template <DerivedFrom<cpu_thread> T>
|
||||
|
@ -301,7 +301,6 @@ public:
|
|||
|
||||
private:
|
||||
static thread_local cpu_thread* g_tls_this_thread;
|
||||
const thread_class m_class;
|
||||
};
|
||||
|
||||
template <DerivedFrom<cpu_thread> T = cpu_thread>
|
||||
|
|
Loading…
Add table
Reference in a new issue