mirror of
https://github.com/Michael-Prince-Sharpe/bsnes-classic.git
synced 2025-04-02 10:21:42 -04:00
54 lines
952 B
C++
54 lines
952 B
C++
struct Configuration : public configuration {
|
|
struct Path {
|
|
string base;
|
|
string user;
|
|
string current;
|
|
string satellaviewBios;
|
|
string sufamiTurboBios;
|
|
string superGameBoyBios;
|
|
} path;
|
|
|
|
struct Video {
|
|
string driver;
|
|
bool synchronize;
|
|
bool smooth;
|
|
string filter;
|
|
string shader;
|
|
bool region;
|
|
unsigned scale;
|
|
bool aspectRatioCorrection;
|
|
unsigned brightness;
|
|
unsigned contrast;
|
|
unsigned gamma;
|
|
bool useGammaRamp;
|
|
} video;
|
|
|
|
struct Audio {
|
|
string driver;
|
|
bool synchronize;
|
|
bool mute;
|
|
unsigned volume;
|
|
unsigned latency;
|
|
unsigned inputFrequency;
|
|
unsigned outputFrequency;
|
|
} audio;
|
|
|
|
struct Input {
|
|
string driver;
|
|
} input;
|
|
|
|
struct Settings {
|
|
unsigned focusPolicy;
|
|
} settings;
|
|
|
|
struct Controller {
|
|
unsigned port1;
|
|
unsigned port2;
|
|
} controller;
|
|
|
|
void load();
|
|
void save();
|
|
void create();
|
|
};
|
|
|
|
extern Configuration config;
|