mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-06-12 21:31:39 +00:00
ControllerInterface: Get rid of SetHwnd(), introduce Reinitialize()
Initialize now just takes the handle directly. Reinitialize is added because it is much more straightforward in comparison to doing the Shutdown-Initialize manually.
This commit is contained in:
parent
8912315596
commit
b7b2074cc2
5 changed files with 21 additions and 24 deletions
|
@ -114,8 +114,8 @@ public:
|
|||
|
||||
ControllerInterface() : m_is_init(false), m_hwnd(nullptr) {}
|
||||
|
||||
void SetHwnd(void* const hwnd);
|
||||
void Initialize();
|
||||
void Initialize(void* const hwnd);
|
||||
void Reinitialize();
|
||||
void Shutdown();
|
||||
bool IsInit() const { return m_is_init; }
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue