diff options
author | bunnei <bunneidev@gmail.com> | 2018-06-29 20:10:16 +0200 |
---|---|---|
committer | bunnei <bunneidev@gmail.com> | 2018-07-14 08:50:35 +0200 |
commit | 05cb10530fbd34635b06f75dea488a8896a763ac (patch) | |
tree | 990f0a010352eb3f72db4e80d6894954941a4e75 /src/yuzu_cmd | |
parent | Merge pull request #657 from bunnei/dual-vs (diff) | |
download | yuzu-05cb10530fbd34635b06f75dea488a8896a763ac.tar yuzu-05cb10530fbd34635b06f75dea488a8896a763ac.tar.gz yuzu-05cb10530fbd34635b06f75dea488a8896a763ac.tar.bz2 yuzu-05cb10530fbd34635b06f75dea488a8896a763ac.tar.lz yuzu-05cb10530fbd34635b06f75dea488a8896a763ac.tar.xz yuzu-05cb10530fbd34635b06f75dea488a8896a763ac.tar.zst yuzu-05cb10530fbd34635b06f75dea488a8896a763ac.zip |
Diffstat (limited to 'src/yuzu_cmd')
-rw-r--r-- | src/yuzu_cmd/yuzu.cpp | 5 |
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) { std::unique_ptr<EmuWindow_SDL2> emu_window{std::make_unique<EmuWindow_SDL2>(fullscreen)}; + if (!Settings::values.use_multi_core) { + // Single core mode must acquire OpenGL context for entire emulation session + emu_window->MakeCurrent(); + } + Core::System& system{Core::System::GetInstance()}; SCOPE_EXIT({ system.Shutdown(); }); |