summaryrefslogtreecommitdiff
path: root/src/citra/config.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/citra/config.h')
-rw-r--r--src/citra/config.h8
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 @@
4 4
5#pragma once 5#pragma once
6 6
7#include <memory>
7#include <string> 8#include <string>
8 9
9class INIReader; 10#include <inih/cpp/INIReader.h>
10 11
11class Config { 12class Config {
12 INIReader* sdl2_config; 13 std::unique_ptr<INIReader> sdl2_config;
13 std::string sdl2_config_loc; 14 std::string sdl2_config_loc;
14 15
15 bool LoadINI(INIReader* config, const char* location, const std::string& default_contents="", bool retry=true); 16 bool LoadINI(const std::string& default_contents="", bool retry=true);
16 void ReadValues(); 17 void ReadValues();
17public: 18public:
18 Config(); 19 Config();
19 ~Config();
20 20
21 void Reload(); 21 void Reload();
22}; 22};