mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-30 04:38:49 +00:00
Use structs for config callback IDs
This way you can't mix up regular config callback IDs and CPU thread config callback IDs. (It would be rather bad if you did!)
This commit is contained in:
parent
1104b93ee4
commit
7197e3abd0
17 changed files with 56 additions and 27 deletions
|
@ -219,7 +219,7 @@ private:
|
|||
SteadyClock::time_point m_next_listports_time;
|
||||
std::thread m_hotplug_thread;
|
||||
Common::Flag m_hotplug_thread_running;
|
||||
std::size_t m_config_change_callback_id;
|
||||
Config::ConfigChangedCallbackID m_config_change_callback_id;
|
||||
};
|
||||
|
||||
std::unique_ptr<ciface::InputBackend> CreateInputBackend(ControllerInterface* controller_interface)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue