mirror of https://github.com/bsnes-emu/bsnes.git
35 lines
789 B
C++
35 lines
789 B
C++
struct ConfigurationManager : Configuration::Document {
|
|
ConfigurationManager();
|
|
auto quit() -> void;
|
|
|
|
struct UserInterface : Configuration::Node {
|
|
bool showStatusBar = true;
|
|
} userInterface;
|
|
|
|
struct Library : Configuration::Node {
|
|
string location;
|
|
} library;
|
|
|
|
struct Video : Configuration::Node {
|
|
string driver;
|
|
bool synchronize = false;
|
|
string scale = "Normal";
|
|
bool aspectCorrection = true;
|
|
string filter = "Blur";
|
|
bool colorEmulation = true;
|
|
} video;
|
|
|
|
struct Audio : Configuration::Node {
|
|
string driver;
|
|
bool synchronize = true;
|
|
bool mute = false;
|
|
} audio;
|
|
|
|
struct Input : Configuration::Node {
|
|
string driver;
|
|
} input;
|
|
};
|
|
|
|
extern ConfigurationManager* configurationManager;
|
|
auto config() -> ConfigurationManager&;
|