mirror of
https://github.com/yuzu-emu/yuzu-android.git
synced 2025-06-23 23:37:54 -05:00
Added configuration file system.
Uses QSettings on citra-qt, and inih on citra-cli.
This commit is contained in:
23
src/citra_qt/config.h
Normal file
23
src/citra_qt/config.h
Normal file
@ -0,0 +1,23 @@
|
||||
// Copyright 2014 Citra Emulator Project
|
||||
// Licensed under GPLv2
|
||||
// Refer to the license.txt file included.
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <QSettings>
|
||||
|
||||
#include "common/common_types.h"
|
||||
|
||||
class Config {
|
||||
QSettings* qt_config;
|
||||
std::string qt_config_loc;
|
||||
|
||||
void ReadControls();
|
||||
void SaveControls();
|
||||
public:
|
||||
Config();
|
||||
~Config();
|
||||
|
||||
void Reload();
|
||||
void Save();
|
||||
};
|
Reference in New Issue
Block a user