Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sys_net Fixes #8019

Merged
merged 13 commits into from
Apr 13, 2020
2 changes: 1 addition & 1 deletion Utilities/types.h
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ template <std::size_t N>
using get_sint_t = typename get_int_impl<N>::stype;

template <typename T>
std::remove_reference_t<T> as_rvalue(T&& obj)
std::remove_cvref_t<T> as_rvalue(T&& obj)
{
return std::forward<T>(obj);
}
Expand Down
9 changes: 7 additions & 2 deletions rpcs3/Emu/CPU/CPUThread.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -361,16 +361,21 @@ void cpu_thread::operator()()

switch (id_type())
{
case 1:
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: ;
}
default: break;
}

// Register thread in g_cpu_array
Expand Down