Allow restoring only settings, recents or controls to defaults.

Fixes #16381 , though could make even more granular later.

The only translation change was deleting one sentence from a longer
string - used Google Translate to assist me in removing the correct part
for a few of them, most were obvious. Hope they're all right.
This commit is contained in:
Henrik Rydgård
2023-01-31 18:56:18 +01:00
parent 01eabe7e98
commit c554f4e2b6
45 changed files with 122 additions and 62 deletions
+7
View File
@@ -66,6 +66,13 @@ enum class GPUBackend {
VULKAN = 3,
};
enum class RestoreSettingsBits : int {
SETTINGS = 1,
CONTROLS = 2,
RECENT = 4,
};
ENUM_CLASS_BITOPS(RestoreSettingsBits);
inline std::string GPUBackendToString(GPUBackend backend) {
switch (backend) {
case GPUBackend::OPENGL: