summaryrefslogtreecommitdiffstats
path: root/src/yuzu_cmd
diff options
context:
space:
mode:
authorReinUsesLisp <reinuseslisp@airmail.cc>2021-01-21 00:09:57 +0100
committerReinUsesLisp <reinuseslisp@airmail.cc>2021-01-21 04:41:03 +0100
commit51512d01d8e956b2afada91e51dfd7c0a6444ad6 (patch)
tree920ed6ec21b438894b7caeef0a946dbfc2ead10a /src/yuzu_cmd
parentMerge pull request #5755 from FearlessTobi/port-5344 (diff)
downloadyuzu-51512d01d8e956b2afada91e51dfd7c0a6444ad6.tar
yuzu-51512d01d8e956b2afada91e51dfd7c0a6444ad6.tar.gz
yuzu-51512d01d8e956b2afada91e51dfd7c0a6444ad6.tar.bz2
yuzu-51512d01d8e956b2afada91e51dfd7c0a6444ad6.tar.lz
yuzu-51512d01d8e956b2afada91e51dfd7c0a6444ad6.tar.xz
yuzu-51512d01d8e956b2afada91e51dfd7c0a6444ad6.tar.zst
yuzu-51512d01d8e956b2afada91e51dfd7c0a6444ad6.zip
Diffstat (limited to 'src/yuzu_cmd')
-rw-r--r--src/yuzu_cmd/yuzu.cpp3
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;