mirror of
https://github.com/azahar-emu/azahar.git
synced 2025-04-28 13:47:59 +03:00
int setting
This commit is contained in:
parent
73cc485c09
commit
7da1ba3629
2 changed files with 2 additions and 3 deletions
|
@ -183,8 +183,7 @@ void Config::ReadValues() {
|
|||
layoutInt = static_cast<int>(Settings::LayoutOption::LargeScreen);
|
||||
}
|
||||
Settings::values.layout_option = static_cast<Settings::LayoutOption>(layoutInt);
|
||||
Settings::values.screen_gap =
|
||||
static_cast<float>(sdl2_config->GetReal("Layout", "screen_gap", 0));
|
||||
Settings::values.screen_gap = static_cast<int>(sdl2_config->GetReal("Layout", "screen_gap", 0));
|
||||
Settings::values.large_screen_proportion =
|
||||
static_cast<float>(sdl2_config->GetReal("Layout", "large_screen_proportion", 2.25));
|
||||
Settings::values.small_screen_position = static_cast<Settings::SmallScreenPosition>(
|
||||
|
|
|
@ -510,7 +510,7 @@ struct Values {
|
|||
SwitchableSetting<bool> upright_screen{false, "upright_screen"};
|
||||
SwitchableSetting<float, true> large_screen_proportion{4.f, 1.f, 16.f,
|
||||
"large_screen_proportion"};
|
||||
SwitchableSetting<float> screen_gap{0.f, "screen_gap"};
|
||||
SwitchableSetting<int> screen_gap{0, "screen_gap"};
|
||||
SwitchableSetting<SmallScreenPosition> small_screen_position{SmallScreenPosition::BottomRight,
|
||||
"small_screen_position"};
|
||||
Setting<u16> custom_top_x{0, "custom_top_x"};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue