mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-05-02 23:08:05 +03:00
Revert the recent changes related to updating hwnd
This commit is contained in:
parent
74f25ad8ec
commit
4f965da4f1
5 changed files with 6 additions and 29 deletions
|
@ -44,7 +44,7 @@ ControllerInterface g_controller_interface;
|
|||
void ControllerInterface::Initialize(void* const hwnd)
|
||||
{
|
||||
if (m_is_init)
|
||||
DeInit();
|
||||
return;
|
||||
|
||||
m_hwnd = hwnd;
|
||||
|
||||
|
@ -102,11 +102,6 @@ void ControllerInterface::Shutdown()
|
|||
delete d;
|
||||
}
|
||||
|
||||
DeInit();
|
||||
}
|
||||
|
||||
void ControllerInterface::DeInit()
|
||||
{
|
||||
m_devices.clear();
|
||||
|
||||
#ifdef CIFACE_USE_XINPUT
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue