Fix wrong g_fxo->init_crtp name, use just init<>

This commit is contained in:
Nekotekina 2020-02-25 14:07:50 +03:00
parent 318a364d09
commit 9c9c2eb2c9
4 changed files with 5 additions and 5 deletions

View file

@ -187,7 +187,7 @@ namespace rsx
fade_animation.duration = 0.5f;
fade_animation.active = true;
g_fxo->init_crtp<named_thread>("OSK Thread", [this]
g_fxo->init<named_thread>("OSK Thread", [this]
{
if (auto error = run_input_loop())
{

View file

@ -498,7 +498,7 @@ namespace rsx
vblank_count = 0;
g_fxo->init_crtp<named_thread>("VBlank Thread", [this]()
g_fxo->init<named_thread>("VBlank Thread", [this]()
{
// See sys_timer_usleep for details
#ifdef __linux__
@ -564,7 +564,7 @@ namespace rsx
}
});
g_fxo->init_crtp<named_thread>("RSX Decompiler Thread", [this]
g_fxo->init<named_thread>("RSX Decompiler Thread", [this]
{
if (g_cfg.video.disable_asynchronous_shader_compiler)
{

View file

@ -868,7 +868,7 @@ void Emulator::Load(const std::string& title_id, bool add_only, bool force_globa
// Workaround for analyser glitches
vm::falloc(0x10000, 0xf0000, vm::main);
g_fxo->init_crtp<named_thread>("SPRX Loader"sv, [this]
g_fxo->init<named_thread>("SPRX Loader"sv, [this]
{
std::vector<std::string> dir_queue;
dir_queue.emplace_back(m_path + '/');

View file

@ -167,7 +167,7 @@ namespace stx
// Special stuff
template <template <class...> typename CTAD, typename... Args>
auto init_crtp(Args&&... args) noexcept
auto init(Args&&... args) noexcept
{
using T = decltype(CTAD{std::forward<Args>(args)...});
return init<T>(std::forward<Args>(args)...);