Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Remove lttc for lle on thread too.
  • Loading branch information
RachelBryk committed Jan 19, 2013
1 parent 6c0f6ff commit 7f83418
Showing 1 changed file with 0 additions and 20 deletions.
20 changes: 0 additions & 20 deletions Source/Core/Core/Src/HW/DSPLLE/DSPLLE.cpp
Expand Up @@ -104,26 +104,6 @@ void DSPLLE::dsp_thread(DSPLLE *dsp_lle)
{
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)
{
int cycles = (int)dsp_lle->m_cycle_count;
Expand Down

0 comments on commit 7f83418

Please sign in to comment.