mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-07 07:21:25 +12:00
Use g_fxo for pad_handler
This commit is contained in:
parent
3092914527
commit
4bba1e3337
5 changed files with 10 additions and 10 deletions
|
@ -103,9 +103,9 @@ EmuCallbacks main_application::CreateCallbacks()
|
|||
}
|
||||
};
|
||||
|
||||
callbacks.get_pad_handler = [this](const std::string& title_id) -> std::shared_ptr<pad_thread>
|
||||
callbacks.init_pad_handler = [this](std::string_view title_id)
|
||||
{
|
||||
return std::make_shared<pad_thread>(get_thread(), m_game_window, title_id);
|
||||
g_fxo->init<pad_thread>(get_thread(), m_game_window, title_id);
|
||||
};
|
||||
|
||||
callbacks.get_gs_render = []() -> std::shared_ptr<GSRender>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue