diff options
author | bunnei <bunneidev@gmail.com> | 2021-01-27 11:34:21 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-27 11:34:21 -0800 |
commit | 28b822fe381164f0c2d426b4c6e5866a69bb9fa4 (patch) | |
tree | da84c060ce3f9411423485d5409ca96b1e366aa2 /src/yuzu_cmd/yuzu.cpp | |
parent | fb0fe3b8c37e9705ed18cb798eda8e144151b1da (diff) | |
parent | 51512d01d8e956b2afada91e51dfd7c0a6444ad6 (diff) |
Merge pull request #5778 from ReinUsesLisp/shader-dir
renderer_opengl: Avoid precompiled cache and force NV GL cache directory
Diffstat (limited to 'src/yuzu_cmd/yuzu.cpp')
-rw-r--r-- | src/yuzu_cmd/yuzu.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/yuzu_cmd/yuzu.cpp b/src/yuzu_cmd/yuzu.cpp index 4faf62ede..0e1f3bdb3 100644 --- a/src/yuzu_cmd/yuzu.cpp +++ b/src/yuzu_cmd/yuzu.cpp @@ -17,6 +17,7 @@ #include "common/logging/filter.h" #include "common/logging/log.h" #include "common/microprofile.h" +#include "common/nvidia_flags.h" #include "common/scm_rev.h" #include "common/scope_exit.h" #include "common/string_util.h" @@ -152,6 +153,8 @@ int main(int argc, char** argv) { MicroProfileOnThreadCreate("EmuThread"); SCOPE_EXIT({ MicroProfileShutdown(); }); + Common::ConfigureNvidiaEnvironmentFlags(); + if (filepath.empty()) { LOG_CRITICAL(Frontend, "Failed to load ROM: No ROM specified"); return -1; |