diff options
Diffstat (limited to 'src/citra/config.h')
-rw-r--r-- | src/citra/config.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/citra/config.h b/src/citra/config.h index c326ec669..52a478146 100644 --- a/src/citra/config.h +++ b/src/citra/config.h @@ -4,19 +4,19 @@ #pragma once +#include <memory> #include <string> -class INIReader; +#include <inih/cpp/INIReader.h> class Config { - INIReader* glfw_config; - std::string glfw_config_loc; + std::unique_ptr<INIReader> sdl2_config; + std::string sdl2_config_loc; - bool LoadINI(INIReader* config, const char* location, const std::string& default_contents="", bool retry=true); + bool LoadINI(const std::string& default_contents="", bool retry=true); void ReadValues(); public: Config(); - ~Config(); void Reload(); }; |