Merge pull request #1686 from ggrtk/fix-settinginfos
Controller: Fix invalid SettingInfos causing crash in FullscreenUI
This commit is contained in:
commit
bd59d711eb
|
@ -255,7 +255,7 @@ Controller::SettingList NamcoGunCon::StaticGetSettings()
|
|||
{{SettingInfo::Type::Path, "CrosshairImagePath", TRANSLATABLE("NamcoGunCon", "Crosshair Image Path"),
|
||||
TRANSLATABLE("NamcoGunCon", "Path to an image to use as a crosshair/cursor.")},
|
||||
{SettingInfo::Type::Float, "CrosshairScale", TRANSLATABLE("NamcoGunCon", "Crosshair Image Scale"),
|
||||
TRANSLATABLE("NamcoGunCon", "Scale of crosshair image on screen."), "1.0", "0.0001", "100.0"},
|
||||
TRANSLATABLE("NamcoGunCon", "Scale of crosshair image on screen."), "1.0", "0.0001", "100.0", "0.10"},
|
||||
{SettingInfo::Type::Float, "XScale", TRANSLATABLE("NamcoGunCon", "X Scale"),
|
||||
TRANSLATABLE("NamcoGunCon", "Scales X coordinates relative to the center of the screen."), "1.0", "0.01", "2.0",
|
||||
"0.01"}}};
|
||||
|
|
|
@ -222,7 +222,7 @@ Controller::SettingList PlayStationMouse::StaticGetSettings()
|
|||
{
|
||||
static constexpr std::array<SettingInfo, 1> settings = {{
|
||||
{SettingInfo::Type::Boolean, "RelativeMouseMode", TRANSLATABLE("PlayStationMouse", "Relative Mouse Mode"),
|
||||
TRANSLATABLE("PlayStationMouse", "Locks the mouse cursor to the window, use for FPS games.")},
|
||||
TRANSLATABLE("PlayStationMouse", "Locks the mouse cursor to the window, use for FPS games."), "false"},
|
||||
}};
|
||||
|
||||
return SettingList(settings.begin(), settings.end());
|
||||
|
|
Loading…
Reference in New Issue