mirror of
https://github.com/yuzu-emu/yuzu-android
synced 2024-12-23 11:31:20 -08:00
Citra: Convert include into forward declaration
This commit is contained in:
parent
e91f2b7663
commit
62f34c8e5c
@ -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) {
|
||||
|
@ -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();
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user