summaryrefslogtreecommitdiffstats
path: root/src/yuzu/uisettings.h
diff options
context:
space:
mode:
authorflodavid <fl.david.53@gmail.com>2023-07-25 22:31:39 +0200
committerflodavid <fl.david.53@gmail.com>2023-10-12 01:51:52 +0200
commita34565727b6eba66cf20d32f3ec2ad073f29f9e1 (patch)
tree9263279b90c2241c2f28d54051f95c05e3ec1f24 /src/yuzu/uisettings.h
parentMerge pull request #11720 from lat9nq/dbg-syms (diff)
downloadyuzu-a34565727b6eba66cf20d32f3ec2ad073f29f9e1.tar
yuzu-a34565727b6eba66cf20d32f3ec2ad073f29f9e1.tar.gz
yuzu-a34565727b6eba66cf20d32f3ec2ad073f29f9e1.tar.bz2
yuzu-a34565727b6eba66cf20d32f3ec2ad073f29f9e1.tar.lz
yuzu-a34565727b6eba66cf20d32f3ec2ad073f29f9e1.tar.xz
yuzu-a34565727b6eba66cf20d32f3ec2ad073f29f9e1.tar.zst
yuzu-a34565727b6eba66cf20d32f3ec2ad073f29f9e1.zip
Diffstat (limited to 'src/yuzu/uisettings.h')
-rw-r--r--src/yuzu/uisettings.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/yuzu/uisettings.h b/src/yuzu/uisettings.h
index 975008159..1216c4efa 100644
--- a/src/yuzu/uisettings.h
+++ b/src/yuzu/uisettings.h
@@ -56,6 +56,8 @@ enum class Theme {
MidnightBlueColorful,
};
+enum AskStopIndex : int { Always, Game, Never };
+
using Themes = std::array<std::pair<const char*, const char*>, 6>;
extern const Themes themes;
@@ -94,6 +96,9 @@ struct Values {
Setting<bool> confirm_before_closing{
linkage, true, "confirmClose", Category::UiGeneral, Settings::Specialization::Default,
true, true};
+ Setting<bool> confirm_before_stopping{
+ linkage, true, "confirmStop", Category::UiGeneral, Settings::Specialization::Default,
+ true, true};
Setting<bool> first_start{linkage, true, "firstStart", Category::Ui};
Setting<bool> pause_when_in_background{linkage,
false,