summaryrefslogtreecommitdiff
path: root/src/yuzu_cmd/yuzu.cpp
diff options
context:
space:
mode:
authorGravatar Liam2022-11-27 20:37:37 -0500
committerGravatar Liam2022-11-28 19:49:09 -0500
commit89dd7dc1802cc53e828cb71c1f3e2bc0879459ce (patch)
tree718f8fec3534b4fdb77405e347f86bcf37980363 /src/yuzu_cmd/yuzu.cpp
parentMerge pull request #8829 from Docteh/qt6_0002 (diff)
downloadyuzu-89dd7dc1802cc53e828cb71c1f3e2bc0879459ce.tar.gz
yuzu-89dd7dc1802cc53e828cb71c1f3e2bc0879459ce.tar.xz
yuzu-89dd7dc1802cc53e828cb71c1f3e2bc0879459ce.zip
video_core: add null backend
Diffstat (limited to 'src/yuzu_cmd/yuzu.cpp')
-rw-r--r--src/yuzu_cmd/yuzu.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/yuzu_cmd/yuzu.cpp b/src/yuzu_cmd/yuzu.cpp
index dfe5a30ea..a80649703 100644
--- a/src/yuzu_cmd/yuzu.cpp
+++ b/src/yuzu_cmd/yuzu.cpp
@@ -34,6 +34,7 @@
34#include "yuzu_cmd/config.h" 34#include "yuzu_cmd/config.h"
35#include "yuzu_cmd/emu_window/emu_window_sdl2.h" 35#include "yuzu_cmd/emu_window/emu_window_sdl2.h"
36#include "yuzu_cmd/emu_window/emu_window_sdl2_gl.h" 36#include "yuzu_cmd/emu_window/emu_window_sdl2_gl.h"
37#include "yuzu_cmd/emu_window/emu_window_sdl2_null.h"
37#include "yuzu_cmd/emu_window/emu_window_sdl2_vk.h" 38#include "yuzu_cmd/emu_window/emu_window_sdl2_vk.h"
38 39
39#ifdef _WIN32 40#ifdef _WIN32
@@ -317,6 +318,9 @@ int main(int argc, char** argv) {
317 case Settings::RendererBackend::Vulkan: 318 case Settings::RendererBackend::Vulkan:
318 emu_window = std::make_unique<EmuWindow_SDL2_VK>(&input_subsystem, system, fullscreen); 319 emu_window = std::make_unique<EmuWindow_SDL2_VK>(&input_subsystem, system, fullscreen);
319 break; 320 break;
321 case Settings::RendererBackend::Null:
322 emu_window = std::make_unique<EmuWindow_SDL2_Null>(&input_subsystem, system, fullscreen);
323 break;
320 } 324 }
321 325
322 system.SetContentProvider(std::make_unique<FileSys::ContentProviderUnion>()); 326 system.SetContentProvider(std::make_unique<FileSys::ContentProviderUnion>());