diff options
author | bunnei <bunneidev@gmail.com> | 2021-07-30 22:28:24 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-30 22:28:24 +0200 |
commit | 2c7fdee7a759fad644e5323c89d929e45ae19efc (patch) | |
tree | de87c26ba0194098a079c7feec88dc1d8c997932 /src/yuzu_cmd/yuzu.cpp | |
parent | Merge pull request #6759 from ReinUsesLisp/pipeline-statistics (diff) | |
parent | emu_window: Remove global system instance (diff) | |
download | yuzu-2c7fdee7a759fad644e5323c89d929e45ae19efc.tar yuzu-2c7fdee7a759fad644e5323c89d929e45ae19efc.tar.gz yuzu-2c7fdee7a759fad644e5323c89d929e45ae19efc.tar.bz2 yuzu-2c7fdee7a759fad644e5323c89d929e45ae19efc.tar.lz yuzu-2c7fdee7a759fad644e5323c89d929e45ae19efc.tar.xz yuzu-2c7fdee7a759fad644e5323c89d929e45ae19efc.tar.zst yuzu-2c7fdee7a759fad644e5323c89d929e45ae19efc.zip |
Diffstat (limited to '')
-rw-r--r-- | src/yuzu_cmd/yuzu.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/yuzu_cmd/yuzu.cpp b/src/yuzu_cmd/yuzu.cpp index 35ce23696..c10093820 100644 --- a/src/yuzu_cmd/yuzu.cpp +++ b/src/yuzu_cmd/yuzu.cpp @@ -172,10 +172,10 @@ int main(int argc, char** argv) { std::unique_ptr<EmuWindow_SDL2> emu_window; switch (Settings::values.renderer_backend.GetValue()) { case Settings::RendererBackend::OpenGL: - emu_window = std::make_unique<EmuWindow_SDL2_GL>(&input_subsystem, fullscreen); + emu_window = std::make_unique<EmuWindow_SDL2_GL>(&input_subsystem, system, fullscreen); break; case Settings::RendererBackend::Vulkan: - emu_window = std::make_unique<EmuWindow_SDL2_VK>(&input_subsystem, fullscreen); + emu_window = std::make_unique<EmuWindow_SDL2_VK>(&input_subsystem, system, fullscreen); break; } |