diff options
author | MerryMage <MerryMage@users.noreply.github.com> | 2016-03-02 13:49:30 +0100 |
---|---|---|
committer | MerryMage <MerryMage@users.noreply.github.com> | 2016-03-02 15:25:06 +0100 |
commit | 48366b1071a7e6ee367435b78845b429c0c9c31f (patch) | |
tree | ea8830afe35efaed11cc820c83ab798fe5a9af36 /src/citra/config.h | |
parent | Dependencies: Remove GLFW, Add SDL2 (diff) | |
download | yuzu-48366b1071a7e6ee367435b78845b429c0c9c31f.tar yuzu-48366b1071a7e6ee367435b78845b429c0c9c31f.tar.gz yuzu-48366b1071a7e6ee367435b78845b429c0c9c31f.tar.bz2 yuzu-48366b1071a7e6ee367435b78845b429c0c9c31f.tar.lz yuzu-48366b1071a7e6ee367435b78845b429c0c9c31f.tar.xz yuzu-48366b1071a7e6ee367435b78845b429c0c9c31f.tar.zst yuzu-48366b1071a7e6ee367435b78845b429c0c9c31f.zip |
Diffstat (limited to 'src/citra/config.h')
-rw-r--r-- | src/citra/config.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/citra/config.h b/src/citra/config.h index d87ef7883..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* sdl2_config; + 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(); }; |