diff options
author | lat9nq <lat9nq@gmail.com> | 2022-03-15 06:05:55 +0100 |
---|---|---|
committer | lat9nq <lat9nq@gmail.com> | 2022-03-15 08:48:40 +0100 |
commit | 24d51e1c925896e18e4536916b8c80f0b41e54fb (patch) | |
tree | f9fa18cfbfbeb28484ac257f11de3ab836883e33 /src/yuzu_cmd/config.h | |
parent | Merge pull request #8008 from ameerj/rescale-offsets-array (diff) | |
download | yuzu-24d51e1c925896e18e4536916b8c80f0b41e54fb.tar yuzu-24d51e1c925896e18e4536916b8c80f0b41e54fb.tar.gz yuzu-24d51e1c925896e18e4536916b8c80f0b41e54fb.tar.bz2 yuzu-24d51e1c925896e18e4536916b8c80f0b41e54fb.tar.lz yuzu-24d51e1c925896e18e4536916b8c80f0b41e54fb.tar.xz yuzu-24d51e1c925896e18e4536916b8c80f0b41e54fb.tar.zst yuzu-24d51e1c925896e18e4536916b8c80f0b41e54fb.zip |
Diffstat (limited to '')
-rw-r--r-- | src/yuzu_cmd/config.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/yuzu_cmd/config.h b/src/yuzu_cmd/config.h index 1ee932be2..f61ba23ec 100644 --- a/src/yuzu_cmd/config.h +++ b/src/yuzu_cmd/config.h @@ -6,6 +6,7 @@ #include <filesystem> #include <memory> +#include <optional> #include <string> #include "common/settings.h" @@ -13,14 +14,14 @@ class INIReader; class Config { - std::unique_ptr<INIReader> sdl2_config; std::filesystem::path sdl2_config_loc; + std::unique_ptr<INIReader> sdl2_config; bool LoadINI(const std::string& default_contents = "", bool retry = true); void ReadValues(); public: - Config(); + explicit Config(std::optional<std::filesystem::path> config_path); ~Config(); void Reload(); |