mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-04 22:11:26 +12:00
Fix various explicitness, laziness, hard codes
This commit is contained in:
parent
5524cd1e75
commit
c69691f19b
6 changed files with 26 additions and 24 deletions
|
@ -359,14 +359,18 @@ void cpu_thread::operator()()
|
|||
std::this_thread::sleep_for(1ms);
|
||||
}
|
||||
|
||||
if (id_type() == 1 && false)
|
||||
switch (id_type())
|
||||
{
|
||||
g_fxo->get<cpu_profiler>()->registered.push(id);
|
||||
}
|
||||
|
||||
if (id_type() == 2 && g_cfg.core.spu_prof)
|
||||
{
|
||||
g_fxo->get<cpu_profiler>()->registered.push(id);
|
||||
case 1:
|
||||
//g_fxo->get<cpu_profiler>()->registered.push(id);
|
||||
break;
|
||||
case 2:
|
||||
if (g_cfg.core.spu_prof)
|
||||
{
|
||||
g_fxo->get<cpu_profiler>()->registered.push(id);
|
||||
}
|
||||
break;
|
||||
default: ;
|
||||
}
|
||||
|
||||
// Register thread in g_cpu_array
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue