suyu/src
Lioncash 4ef3329f81 configuration/config: Move config loading and saving to functions based off groups
Over time our config values have grown quite numerous in size.
Unfortunately it also makes the single functions we have for loading and
saving values more error prone.

For example, we were loading the core settings twice when they only
should have been loaded once. In another section, a variable was
shadowing another variable used to load settings from a completely
different section.

Finally, in one other case, there was an extraneous endGroup() call used
that didn't need to be done. This was essentially dead code and also a
bug waiting to happen.

This separates the section loading code into its own separate functions.
This keeps variables only visible to the code that actually needs it,
and makes it much easier to visually see the end of each individual
configuration group. It also makes it much easier to visually catch bugs
during code review.

While we're at it, this also uses QStringLiteral instead of raw string
literals, which both avoids constructing a lot of QString instances, but
also makes it much easier to disable implicit ASCII to QString and
vice-versa in the future via setting QT_NO_CAST_FROM_ASCII and
QT_NO_CAST_TO_ASCII as compilation flags.
2019-05-09 00:52:49 -04:00
..
audio_core core/core_timing: Make callback parameters consistent 2019-03-24 18:12:17 -04:00
common common/{lz4_compression, zstd_compression}: Add missing header guards 2019-04-15 13:00:08 -04:00
core loader/nso: Remove left-in debug pragma 2019-04-30 22:55:53 -04:00
input_common general: Use deducation guides for std::lock_guard and std::unique_lock 2019-04-01 12:53:47 -04:00
tests kernel: Handle page table switching within MakeCurrentProcess() 2019-04-07 01:12:54 -04:00
video_core Merge pull request #2100 from FreddyFunk/disk-cache-precompiled-file 2019-04-30 19:24:01 -04:00
web_service general: Use deducation guides for std::lock_guard and std::unique_lock 2019-04-01 12:53:47 -04:00
yuzu configuration/config: Move config loading and saving to functions based off groups 2019-05-09 00:52:49 -04:00
yuzu_cmd Merge pull request #2424 from FernandoS27/compat 2019-04-24 22:54:27 -04:00
.clang-format Remove special rules for Windows.h and library includes 2016-09-21 00:16:33 -07:00
CMakeLists.txt CMakeLists: Ensure we specify Unicode as the codepage on Windows 2019-04-16 21:23:34 -04:00