Merge pull request #7511 from stenzek/dolphin-no-gui-build
CMake: Fix DolphinNoGUI build
This commit is contained in:
commit
748b275c9a
|
@ -459,7 +459,7 @@ static void EmuThread(std::unique_ptr<BootParameters> boot, WindowSystemInfo wsi
|
|||
bool init_controllers = false;
|
||||
if (!g_controller_interface.IsInit())
|
||||
{
|
||||
g_controller_interface.Initialize(wsi.display_connection);
|
||||
g_controller_interface.Initialize(wsi.render_surface);
|
||||
Pad::Initialize();
|
||||
Keyboard::Initialize();
|
||||
init_controllers = true;
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
if(NOT(USE_X11 OR ENABLE_HEADLESS))
|
||||
if(NOT((ENABLE_X11 AND X11_FOUND) OR ENABLE_HEADLESS))
|
||||
return()
|
||||
endif()
|
||||
|
||||
|
|
Loading…
Reference in New Issue