mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-05 14:37:08 +00: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