mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-03 14:49:22 +00:00
Remove lttc for lle on thread too.
This commit is contained in:
parent
6c0f6ffecf
commit
7f8341825b
1 changed files with 0 additions and 20 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue