mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-27 08:15:33 +01:00
Apply fixes to all platforms
This commit is contained in:
parent
78e8ccea6d
commit
76ae1d4070
@ -105,18 +105,17 @@ void ControllerInterface::RefreshDevices()
|
|||||||
InvokeDevicesChangedCallbacks();
|
InvokeDevicesChangedCallbacks();
|
||||||
|
|
||||||
#ifdef CIFACE_USE_WIN32
|
#ifdef CIFACE_USE_WIN32
|
||||||
// Should this be changed for other platforms? I don't have the means to test...
|
|
||||||
ciface::Win32::PopulateDevices(m_wsi.render_window);
|
ciface::Win32::PopulateDevices(m_wsi.render_window);
|
||||||
#endif
|
#endif
|
||||||
#ifdef CIFACE_USE_XLIB
|
#ifdef CIFACE_USE_XLIB
|
||||||
if (m_wsi.type == WindowSystemType::X11)
|
if (m_wsi.type == WindowSystemType::X11)
|
||||||
ciface::XInput2::PopulateDevices(m_wsi.render_surface);
|
ciface::XInput2::PopulateDevices(m_wsi.render_window);
|
||||||
#endif
|
#endif
|
||||||
#ifdef CIFACE_USE_OSX
|
#ifdef CIFACE_USE_OSX
|
||||||
if (m_wsi.type == WindowSystemType::MacOS)
|
if (m_wsi.type == WindowSystemType::MacOS)
|
||||||
{
|
{
|
||||||
ciface::OSX::PopulateDevices(m_wsi.render_surface);
|
ciface::OSX::PopulateDevices(m_wsi.render_window);
|
||||||
ciface::Quartz::PopulateDevices(m_wsi.render_surface);
|
ciface::Quartz::PopulateDevices(m_wsi.render_window);
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
#ifdef CIFACE_USE_SDL
|
#ifdef CIFACE_USE_SDL
|
||||||
|
Loading…
x
Reference in New Issue
Block a user