mirror of
https://github.com/bsnes-emu/bsnes.git
synced 2025-10-05 04:51:38 +02:00
byuu says: I imagine you guys will like this WIP very much. Changelog: - ListView check boxes on Windows - ListView removal of columns on reset (changing input dropdowns) - DirectSound audio duplication on latency change - DirectSound crash on 20ms latency - Fullscreen window sizing in multi-monitor setups - Allow joypad bindings of hotkeys - Allow triggers to be mapped (Xbox 360 / XInput / Windows only) - Support joypad rumble for Game Boy Player - Video scale settings modified from {1x,2x,3x} to {2x,3x,4x} - System menu now renames to active emulation core - Added fast forward hotkey Not changing for v095: - not adding input focus settings yet - not adding shaders yet Not changing at all: - not implementing maximize
53 lines
1.2 KiB
C++
53 lines
1.2 KiB
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 = "Small";
|
|
bool aspectCorrection = true;
|
|
string filter = "Blur";
|
|
bool colorEmulation = true;
|
|
unsigned saturation = 100;
|
|
unsigned gamma = 100;
|
|
unsigned luminance = 100;
|
|
|
|
struct Overscan : Configuration::Node {
|
|
bool mask = false;
|
|
unsigned horizontal = 8;
|
|
unsigned vertical = 8;
|
|
} overscan;
|
|
} video;
|
|
|
|
struct Audio : Configuration::Node {
|
|
string driver;
|
|
string device;
|
|
bool synchronize = true;
|
|
bool mute = false;
|
|
unsigned volume = 100;
|
|
unsigned frequency = 48000;
|
|
unsigned latency = 60;
|
|
string resampler = "Sinc";
|
|
} audio;
|
|
|
|
struct Input : Configuration::Node {
|
|
string driver;
|
|
} input;
|
|
|
|
struct Timing : Configuration::Node {
|
|
double video = 60.0;
|
|
double audio = 48000.0;
|
|
} timing;
|
|
};
|
|
|
|
extern ConfigurationManager* config;
|