summaryrefslogtreecommitdiff
path: root/src/yuzu_cmd/yuzu.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/yuzu_cmd/yuzu.cpp')
-rw-r--r--src/yuzu_cmd/yuzu.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/yuzu_cmd/yuzu.cpp b/src/yuzu_cmd/yuzu.cpp
index f126bd277..24db1065a 100644
--- a/src/yuzu_cmd/yuzu.cpp
+++ b/src/yuzu_cmd/yuzu.cpp
@@ -148,6 +148,11 @@ int main(int argc, char** argv) {
148 148
149 std::unique_ptr<EmuWindow_SDL2> emu_window{std::make_unique<EmuWindow_SDL2>(fullscreen)}; 149 std::unique_ptr<EmuWindow_SDL2> emu_window{std::make_unique<EmuWindow_SDL2>(fullscreen)};
150 150
151 if (!Settings::values.use_multi_core) {
152 // Single core mode must acquire OpenGL context for entire emulation session
153 emu_window->MakeCurrent();
154 }
155
151 Core::System& system{Core::System::GetInstance()}; 156 Core::System& system{Core::System::GetInstance()};
152 157
153 SCOPE_EXIT({ system.Shutdown(); }); 158 SCOPE_EXIT({ system.Shutdown(); });