mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-04-20 11:36:13 +00:00
Fix wrong g_fxo->init_crtp name, use just init<>
This commit is contained in:
parent
318a364d09
commit
9c9c2eb2c9
4 changed files with 5 additions and 5 deletions
|
@ -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())
|
||||
{
|
||||
|
|
|
@ -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)
|
||||
{
|
||||
|
|
|
@ -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 + '/');
|
||||
|
|
|
@ -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)...);
|
||||
|
|
Loading…
Add table
Reference in a new issue