diff options
| -rw-r--r-- | src/common/settings.cpp | 2 | ||||
| -rw-r--r-- | src/common/settings.h | 2 | ||||
| -rw-r--r-- | src/yuzu/uisettings.h | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/src/common/settings.cpp b/src/common/settings.cpp index 605fe7f86..c8651925e 100644 --- a/src/common/settings.cpp +++ b/src/common/settings.cpp | |||
| @@ -144,7 +144,7 @@ float Volume() { | |||
| 144 | return values.volume.GetValue() / static_cast<f32>(values.volume.GetDefault()); | 144 | return values.volume.GetValue() / static_cast<f32>(values.volume.GetDefault()); |
| 145 | } | 145 | } |
| 146 | 146 | ||
| 147 | Linkage::Linkage() = default; | 147 | Linkage::Linkage(u32 initial_count) : count{initial_count} {} |
| 148 | Linkage::~Linkage() = default; | 148 | Linkage::~Linkage() = default; |
| 149 | 149 | ||
| 150 | const char* TranslateCategory(Category category) { | 150 | const char* TranslateCategory(Category category) { |
diff --git a/src/common/settings.h b/src/common/settings.h index 1f95bd7d5..51708706b 100644 --- a/src/common/settings.h +++ b/src/common/settings.h | |||
| @@ -291,7 +291,7 @@ public: | |||
| 291 | 291 | ||
| 292 | class Linkage { | 292 | class Linkage { |
| 293 | public: | 293 | public: |
| 294 | explicit Linkage(); | 294 | explicit Linkage(u32 initial_count = 0); |
| 295 | ~Linkage(); | 295 | ~Linkage(); |
| 296 | std::map<Category, std::forward_list<BasicSetting*>> by_category{}; | 296 | std::map<Category, std::forward_list<BasicSetting*>> by_category{}; |
| 297 | std::vector<std::function<void()>> restore_functions{}; | 297 | std::vector<std::function<void()>> restore_functions{}; |
diff --git a/src/yuzu/uisettings.h b/src/yuzu/uisettings.h index 9e2cea4d6..a734513ea 100644 --- a/src/yuzu/uisettings.h +++ b/src/yuzu/uisettings.h | |||
| @@ -59,7 +59,7 @@ struct GameDir { | |||
| 59 | }; | 59 | }; |
| 60 | 60 | ||
| 61 | struct Values { | 61 | struct Values { |
| 62 | Settings::Linkage linkage{}; | 62 | Settings::Linkage linkage{1000}; |
| 63 | 63 | ||
| 64 | QByteArray geometry; | 64 | QByteArray geometry; |
| 65 | QByteArray state; | 65 | QByteArray state; |