summaryrefslogtreecommitdiff
path: root/src/yuzu/main.h
diff options
context:
space:
mode:
authorAndrew Pilley <anpilley@users.noreply.github.com>2024-01-17 09:06:45 -0800
committerAndrew Pilley <anpilley@users.noreply.github.com>2024-01-17 10:31:00 -0800
commitdff0a7c52a73a3989b788b5328a782e995f07c8c (patch)
tree810018315b3a2399de10e952095adaabb28cc7ad /src/yuzu/main.h
parent915efa42365d2734a7f34f9d51fbf187135989d7 (diff)
Allow -u to accept a username string in addition to index, and suppress the User selector even if settings requires it to be shown for one instance only.
Diffstat (limited to 'src/yuzu/main.h')
-rw-r--r--src/yuzu/main.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/yuzu/main.h b/src/yuzu/main.h
index 366e806d5..f3276da64 100644
--- a/src/yuzu/main.h
+++ b/src/yuzu/main.h
@@ -523,6 +523,8 @@ private:
std::unique_ptr<EmuThread> emu_thread;
// The path to the game currently running
QString current_game_path;
+ // Whether a user was set on the command line (skips UserSelector if it's forced to show up)
+ bool user_flag_cmd_line = false;
bool auto_paused = false;
bool auto_muted = false;