2015-03-03 10:14:49 +00:00
|
|
|
struct ConfigurationManager : Configuration::Document {
|
|
|
|
ConfigurationManager();
|
|
|
|
auto quit() -> void;
|
|
|
|
|
2015-04-13 11:16:33 +00:00
|
|
|
struct UserInterface : Configuration::Node {
|
|
|
|
bool showStatusBar = true;
|
|
|
|
} userInterface;
|
|
|
|
|
2015-04-21 11:51:57 +00:00
|
|
|
struct Library : Configuration::Node {
|
|
|
|
string location;
|
|
|
|
} library;
|
|
|
|
|
2015-03-03 10:14:49 +00:00
|
|
|
struct Video : Configuration::Node {
|
|
|
|
string driver;
|
|
|
|
bool synchronize = false;
|
|
|
|
string scale = "Normal";
|
|
|
|
bool aspectCorrection = true;
|
Update to v094r13 release.
byuu says:
This version polishes up the input dialogue (reset, erase, disable
button when item not focused, split device ID from mapping name), adds
color emulation toggle, and add dummy menu items for remaining features
(to be filled in later.)
Also, it now compiles cleanly on Windows with GTK.
I didn't test with TDM-GCC-32, because for god knows what reason, the
32-bit version ships with headers from Windows 95 OSR2 only. So I built
with TDM-GCC-64 with arch=x86.
And uh, apparently, moving or resizing a window causes a Visual C++
runtime exception in the GTK+ DLLs. This doesn't happen with trance or
renshuu built with TDM-GCC-32. So, yeah, like I said, don't use -m32.
2015-03-07 10:21:47 +00:00
|
|
|
string filter = "Blur";
|
|
|
|
bool colorEmulation = true;
|
2015-04-21 11:58:59 +00:00
|
|
|
|
|
|
|
struct Overscan : Configuration::Node {
|
|
|
|
bool mask = false;
|
|
|
|
unsigned horizontal = 8;
|
|
|
|
unsigned vertical = 8;
|
|
|
|
} overscan;
|
2015-03-03 10:14:49 +00:00
|
|
|
} video;
|
|
|
|
|
|
|
|
struct Audio : Configuration::Node {
|
|
|
|
string driver;
|
Update to v094r22 release.
byuu says:
I fixed the hiro layout enable bug, so when you go to assign joypad
input, the window disables itself so your input doesn't mess with the
controls.
I added "reset" to the hotkeys, in case you feel like clearing all of
them at once.
I added device selection support and the ability to disable audio
synchronization (run > 60fps) to the ruby/OSS driver. This is exposed in
tomoko's configuration file.
I added checks to stringify so that assigning null char* strings to
nall::string won't cause crashes anymore (technically the crash was in
strlen(), which doesn't check for null strings, but whatever ... I'll do
the check myself.)
I hooked up BrowserDialog::folderSelect() to loading slotted media for
now. Tested it by loading a Game Boy game successfully through the Super
Game Boy. Definitely want to write a custom window for this though, that
looks more like the library dialog.
Remaining issues:
- finish slotted cart loader (SGB, BSX, ST)
- add DIP switch selection window (NSS) [I may end up punting this one
to v096]
- add more configuration panels (video, audio, timing)
2015-05-25 12:23:49 +00:00
|
|
|
string device;
|
2015-03-03 10:14:49 +00:00
|
|
|
bool synchronize = true;
|
|
|
|
bool mute = false;
|
|
|
|
} audio;
|
|
|
|
|
|
|
|
struct Input : Configuration::Node {
|
|
|
|
string driver;
|
|
|
|
} input;
|
|
|
|
};
|
|
|
|
|
|
|
|
extern ConfigurationManager* configurationManager;
|
|
|
|
auto config() -> ConfigurationManager&;
|