summaryrefslogtreecommitdiffstats
path: root/src/yuzu_cmd/yuzu.cpp
diff options
context:
space:
mode:
authorLiam <byteslice@airmail.cc>2022-11-28 02:37:37 +0100
committerLiam <byteslice@airmail.cc>2022-11-29 01:49:09 +0100
commit89dd7dc1802cc53e828cb71c1f3e2bc0879459ce (patch)
tree718f8fec3534b4fdb77405e347f86bcf37980363 /src/yuzu_cmd/yuzu.cpp
parentMerge pull request #8829 from Docteh/qt6_0002 (diff)
downloadyuzu-89dd7dc1802cc53e828cb71c1f3e2bc0879459ce.tar
yuzu-89dd7dc1802cc53e828cb71c1f3e2bc0879459ce.tar.gz
yuzu-89dd7dc1802cc53e828cb71c1f3e2bc0879459ce.tar.bz2
yuzu-89dd7dc1802cc53e828cb71c1f3e2bc0879459ce.tar.lz
yuzu-89dd7dc1802cc53e828cb71c1f3e2bc0879459ce.tar.xz
yuzu-89dd7dc1802cc53e828cb71c1f3e2bc0879459ce.tar.zst
yuzu-89dd7dc1802cc53e828cb71c1f3e2bc0879459ce.zip
Diffstat (limited to '')
-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 @@
#include "yuzu_cmd/config.h"
#include "yuzu_cmd/emu_window/emu_window_sdl2.h"
#include "yuzu_cmd/emu_window/emu_window_sdl2_gl.h"
+#include "yuzu_cmd/emu_window/emu_window_sdl2_null.h"
#include "yuzu_cmd/emu_window/emu_window_sdl2_vk.h"
#ifdef _WIN32
@@ -317,6 +318,9 @@ int main(int argc, char** argv) {
case Settings::RendererBackend::Vulkan:
emu_window = std::make_unique<EmuWindow_SDL2_VK>(&input_subsystem, system, fullscreen);
break;
+ case Settings::RendererBackend::Null:
+ emu_window = std::make_unique<EmuWindow_SDL2_Null>(&input_subsystem, system, fullscreen);
+ break;
}
system.SetContentProvider(std::make_unique<FileSys::ContentProviderUnion>());