mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-10 18:18:49 +00:00
Config: Move the 'Display' settings from ConfigManager to the layered config system
This commit is contained in:
parent
735a705e4d
commit
840afc2ad4
15 changed files with 83 additions and 100 deletions
|
@ -106,6 +106,23 @@ const ConfigInfo<bool> MAIN_ENABLE_SIGNATURE_CHECKS{{System::Main, "Core", "Enab
|
|||
const ConfigInfo<bool> MAIN_REDUCE_POLLING_RATE{{System::Main, "Core", "ReducePollingRate"}, false};
|
||||
const ConfigInfo<bool> MAIN_AUTO_DISC_CHANGE{{System::Main, "Core", "AutoDiscChange"}, false};
|
||||
|
||||
// Main.Display
|
||||
|
||||
const ConfigInfo<std::string> MAIN_FULLSCREEN_DISPLAY_RES{
|
||||
{System::Main, "Display", "FullscreenDisplayRes"}, "Auto"};
|
||||
const ConfigInfo<bool> MAIN_FULLSCREEN{{System::Main, "Display", "Fullscreen"}, false};
|
||||
const ConfigInfo<bool> MAIN_RENDER_TO_MAIN{{System::Main, "Display", "RenderToMain"}, false};
|
||||
const ConfigInfo<int> MAIN_RENDER_WINDOW_XPOS{{System::Main, "Display", "RenderWindowXPos"}, -1};
|
||||
const ConfigInfo<int> MAIN_RENDER_WINDOW_YPOS{{System::Main, "Display", "RenderWindowYPos"}, -1};
|
||||
const ConfigInfo<int> MAIN_RENDER_WINDOW_WIDTH{{System::Main, "Display", "RenderWindowWidth"}, 640};
|
||||
const ConfigInfo<int> MAIN_RENDER_WINDOW_HEIGHT{{System::Main, "Display", "RenderWindowHeight"},
|
||||
480};
|
||||
const ConfigInfo<bool> MAIN_RENDER_WINDOW_AUTOSIZE{
|
||||
{System::Main, "Display", "RenderWindowAutoSize"}, false};
|
||||
const ConfigInfo<bool> MAIN_KEEP_WINDOW_ON_TOP{{System::Main, "Display", "KeepWindowOnTop"}, false};
|
||||
const ConfigInfo<bool> MAIN_DISABLE_SCREENSAVER{{System::Main, "Display", "DisableScreenSaver"},
|
||||
false};
|
||||
|
||||
// Main.DSP
|
||||
|
||||
const ConfigInfo<bool> MAIN_DSP_CAPTURE_LOG{{System::Main, "DSP", "CaptureLog"}, false};
|
||||
|
|
|
@ -90,6 +90,19 @@ extern const ConfigInfo<bool> MAIN_DUMP_UCODE;
|
|||
extern const ConfigInfo<std::string> MAIN_AUDIO_BACKEND;
|
||||
extern const ConfigInfo<int> MAIN_AUDIO_VOLUME;
|
||||
|
||||
// Main.Display
|
||||
|
||||
extern const ConfigInfo<std::string> MAIN_FULLSCREEN_DISPLAY_RES;
|
||||
extern const ConfigInfo<bool> MAIN_FULLSCREEN;
|
||||
extern const ConfigInfo<bool> MAIN_RENDER_TO_MAIN;
|
||||
extern const ConfigInfo<int> MAIN_RENDER_WINDOW_XPOS;
|
||||
extern const ConfigInfo<int> MAIN_RENDER_WINDOW_YPOS;
|
||||
extern const ConfigInfo<int> MAIN_RENDER_WINDOW_WIDTH;
|
||||
extern const ConfigInfo<int> MAIN_RENDER_WINDOW_HEIGHT;
|
||||
extern const ConfigInfo<bool> MAIN_RENDER_WINDOW_AUTOSIZE;
|
||||
extern const ConfigInfo<bool> MAIN_KEEP_WINDOW_ON_TOP;
|
||||
extern const ConfigInfo<bool> MAIN_DISABLE_SCREENSAVER;
|
||||
|
||||
// Main.General
|
||||
|
||||
extern const ConfigInfo<std::string> MAIN_DUMP_PATH;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue