mirror of https://github.com/bsnes-emu/bsnes.git
48 lines
829 B
C++
Executable File
48 lines
829 B
C++
Executable File
struct Configuration : configuration {
|
|
struct Video {
|
|
string driver;
|
|
bool synchronize;
|
|
string shader;
|
|
unsigned scaleMode;
|
|
bool aspectCorrection;
|
|
bool maskOverscan;
|
|
unsigned maskOverscanHorizontal;
|
|
unsigned maskOverscanVertical;
|
|
unsigned saturation;
|
|
unsigned gamma;
|
|
unsigned luminance;
|
|
bool startFullScreen;
|
|
} video;
|
|
|
|
struct Audio {
|
|
string driver;
|
|
bool synchronize;
|
|
unsigned frequency;
|
|
unsigned latency;
|
|
unsigned resampler;
|
|
unsigned volume;
|
|
bool mute;
|
|
} audio;
|
|
|
|
struct Input {
|
|
string driver;
|
|
bool focusPause;
|
|
bool focusAllow;
|
|
} input;
|
|
|
|
struct Timing {
|
|
double video;
|
|
double audio;
|
|
} timing;
|
|
|
|
struct Path {
|
|
string game;
|
|
} path;
|
|
|
|
void load();
|
|
void save();
|
|
Configuration();
|
|
};
|
|
|
|
extern Configuration *config;
|