diff options
Diffstat (limited to 'src/yuzu_cmd/yuzu.cpp')
| -rw-r--r-- | src/yuzu_cmd/yuzu.cpp | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/yuzu_cmd/yuzu.cpp b/src/yuzu_cmd/yuzu.cpp index 1ebc04af5..2497c71ae 100644 --- a/src/yuzu_cmd/yuzu.cpp +++ b/src/yuzu_cmd/yuzu.cpp | |||
| @@ -35,9 +35,7 @@ | |||
| 35 | #include "yuzu_cmd/config.h" | 35 | #include "yuzu_cmd/config.h" |
| 36 | #include "yuzu_cmd/emu_window/emu_window_sdl2.h" | 36 | #include "yuzu_cmd/emu_window/emu_window_sdl2.h" |
| 37 | #include "yuzu_cmd/emu_window/emu_window_sdl2_gl.h" | 37 | #include "yuzu_cmd/emu_window/emu_window_sdl2_gl.h" |
| 38 | #ifdef HAS_VULKAN | ||
| 39 | #include "yuzu_cmd/emu_window/emu_window_sdl2_vk.h" | 38 | #include "yuzu_cmd/emu_window/emu_window_sdl2_vk.h" |
| 40 | #endif | ||
| 41 | 39 | ||
| 42 | #ifdef _WIN32 | 40 | #ifdef _WIN32 |
| 43 | // windows.h needs to be included before shellapi.h | 41 | // windows.h needs to be included before shellapi.h |
| @@ -173,13 +171,8 @@ int main(int argc, char** argv) { | |||
| 173 | emu_window = std::make_unique<EmuWindow_SDL2_GL>(&input_subsystem, fullscreen); | 171 | emu_window = std::make_unique<EmuWindow_SDL2_GL>(&input_subsystem, fullscreen); |
| 174 | break; | 172 | break; |
| 175 | case Settings::RendererBackend::Vulkan: | 173 | case Settings::RendererBackend::Vulkan: |
| 176 | #ifdef HAS_VULKAN | ||
| 177 | emu_window = std::make_unique<EmuWindow_SDL2_VK>(&input_subsystem); | 174 | emu_window = std::make_unique<EmuWindow_SDL2_VK>(&input_subsystem); |
| 178 | break; | 175 | break; |
| 179 | #else | ||
| 180 | LOG_CRITICAL(Frontend, "Vulkan backend has not been compiled!"); | ||
| 181 | return 1; | ||
| 182 | #endif | ||
| 183 | } | 176 | } |
| 184 | 177 | ||
| 185 | system.SetContentProvider(std::make_unique<FileSys::ContentProviderUnion>()); | 178 | system.SetContentProvider(std::make_unique<FileSys::ContentProviderUnion>()); |