mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-04-20 19:44:57 +00:00
Merge pull request #7511 from stenzek/dolphin-no-gui-build
CMake: Fix DolphinNoGUI build
This commit is contained in:
commit
748b275c9a
2 changed files with 2 additions and 2 deletions
|
@ -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…
Add table
Reference in a new issue