summaryrefslogtreecommitdiffstats
path: root/src/citra
diff options
context:
space:
mode:
authorYuri Kunde Schlesner <yuriks@yuriks.net>2017-05-28 03:14:00 +0200
committerYuri Kunde Schlesner <yuriks@yuriks.net>2017-05-28 03:41:24 +0200
commit62f34c8e5ce94adeb24d985f8d2c32b1ece37a3c (patch)
tree1bf8109f6705b84fe6df01e6bf0f97f17f4f8452 /src/citra
parentRemove some unnecessary inclusions of video_core.h (diff)
downloadyuzu-62f34c8e5ce94adeb24d985f8d2c32b1ece37a3c.tar
yuzu-62f34c8e5ce94adeb24d985f8d2c32b1ece37a3c.tar.gz
yuzu-62f34c8e5ce94adeb24d985f8d2c32b1ece37a3c.tar.bz2
yuzu-62f34c8e5ce94adeb24d985f8d2c32b1ece37a3c.tar.lz
yuzu-62f34c8e5ce94adeb24d985f8d2c32b1ece37a3c.tar.xz
yuzu-62f34c8e5ce94adeb24d985f8d2c32b1ece37a3c.tar.zst
yuzu-62f34c8e5ce94adeb24d985f8d2c32b1ece37a3c.zip
Diffstat (limited to 'src/citra')
-rw-r--r--src/citra/config.cpp4
-rw-r--r--src/citra/config.h4
2 files changed, 6 insertions, 2 deletions
diff --git a/src/citra/config.cpp b/src/citra/config.cpp
index a4162e9ad..f08b4069c 100644
--- a/src/citra/config.cpp
+++ b/src/citra/config.cpp
@@ -5,11 +5,11 @@
#include <memory>
#include <SDL.h>
#include <inih/cpp/INIReader.h>
+#include "citra/config.h"
#include "citra/default_ini.h"
#include "common/file_util.h"
#include "common/logging/log.h"
#include "common/param_package.h"
-#include "config.h"
#include "core/settings.h"
#include "input_common/main.h"
@@ -21,6 +21,8 @@ Config::Config() {
Reload();
}
+Config::~Config() = default;
+
bool Config::LoadINI(const std::string& default_contents, bool retry) {
const char* location = this->sdl2_config_loc.c_str();
if (sdl2_config->ParseError() < 0) {
diff --git a/src/citra/config.h b/src/citra/config.h
index b1c31f59c..abc90f642 100644
--- a/src/citra/config.h
+++ b/src/citra/config.h
@@ -6,7 +6,8 @@
#include <memory>
#include <string>
-#include <inih/cpp/INIReader.h>
+
+class INIReader;
class Config {
std::unique_ptr<INIReader> sdl2_config;
@@ -17,6 +18,7 @@ class Config {
public:
Config();
+ ~Config();
void Reload();
};