mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-05 14:31:24 +12: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)
|
cpu_thread::cpu_thread(u32 id)
|
||||||
: id(id)
|
: id(id)
|
||||||
, m_class(get_thread_class(id_type()))
|
|
||||||
{
|
{
|
||||||
while (Emu.GetStatus() == system_state::paused)
|
while (Emu.GetStatus() == system_state::paused)
|
||||||
{
|
{
|
||||||
|
|
|
@ -120,7 +120,7 @@ public:
|
||||||
|
|
||||||
thread_class get_class() const
|
thread_class get_class() const
|
||||||
{
|
{
|
||||||
return m_class;
|
return get_thread_class(id_type());
|
||||||
}
|
}
|
||||||
|
|
||||||
template <DerivedFrom<cpu_thread> T>
|
template <DerivedFrom<cpu_thread> T>
|
||||||
|
@ -301,7 +301,6 @@ public:
|
||||||
|
|
||||||
private:
|
private:
|
||||||
static thread_local cpu_thread* g_tls_this_thread;
|
static thread_local cpu_thread* g_tls_this_thread;
|
||||||
const thread_class m_class;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
template <DerivedFrom<cpu_thread> T = cpu_thread>
|
template <DerivedFrom<cpu_thread> T = cpu_thread>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue