Commit graph

8 commits

Author SHA1 Message Date
t895
f21569a4eb config: Reset per-game profile name on load if empty 2024-02-16 21:07:03 -05:00
flodavid
ec5646a83e Save profile name used
- Save the profile name in global config
- Read the profile name when reading the global config
2024-01-08 18:43:56 +01:00
t895
c90fc6308c frontend_common: config: Refactor WriteSetting to stricter types
Previously this could cause problems if a version of the template generated for WriteSetting didn't use the type you needed (e.g. floating point values). Now these are all ready without having to be used within frontend_common first.
2023-12-30 15:11:36 -05:00
Narr the Reg
071ebf9dc4 yuzu: Read/Save category Paths 2023-12-19 11:34:53 -06:00
Narr the Reg
081ce648c4 yuzu: Make language persistent and remove symbols_path 2023-12-18 20:28:55 -06:00
t895
9593c3bce4 frontend_common: Use optional for language default 2023-12-04 19:49:01 -05:00
t895
eb0d351274 frontend_common: Add option to read unsigned integers 2023-11-21 21:01:46 -05:00
t895
230bd06245 config: Unify config handling under frontend_common
Replaces every way of handling config for each frontend with SimpleIni. frontend_common's Config class is at the center where it saves and loads all of the cross-platform settings and provides a set of pure virtual functions for platform specific settings.

As a result of making config handling platform specific, several parts had to be moved to each platform's own config class or to other parts. Default keys were put in platform specific config classes and translatable strings for Qt were moved to shared_translation. Default hotkeys, default_theme, window geometry, and qt metatypes were moved to uisettings. Additionally, to reduce dependence on Qt, QStrings were converted to std::strings where applicable.
2023-11-21 01:58:13 -05:00