mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-02-03 19:42:45 +01:00
Remove lttc for lle on thread too.
This commit is contained in:
parent
6c0f6ffecf
commit
7f8341825b
@ -104,26 +104,6 @@ void DSPLLE::dsp_thread(DSPLLE *dsp_lle)
|
|||||||
{
|
{
|
||||||
Common::SetCurrentThreadName("DSP thread");
|
Common::SetCurrentThreadName("DSP thread");
|
||||||
|
|
||||||
{
|
|
||||||
if (cpu_info.num_cores > 3)
|
|
||||||
{
|
|
||||||
// HACK (delroth): there is no way to know where hyperthreads are in
|
|
||||||
// the current Dolphin version.
|
|
||||||
bool windows = false;
|
|
||||||
#ifdef _WIN32
|
|
||||||
windows = true;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
u8 core_id;
|
|
||||||
if (windows && cpu_info.num_cores > 4) // Probably HT
|
|
||||||
core_id = 5; // 3rd non HT core
|
|
||||||
else
|
|
||||||
core_id = 3; // 3rd core
|
|
||||||
|
|
||||||
Common::SetCurrentThreadAffinity(1 << (core_id - 1));
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
while (dsp_lle->m_bIsRunning)
|
while (dsp_lle->m_bIsRunning)
|
||||||
{
|
{
|
||||||
int cycles = (int)dsp_lle->m_cycle_count;
|
int cycles = (int)dsp_lle->m_cycle_count;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user