Skip to content

Commit

Permalink
common: fix video snap delay option
Browse files Browse the repository at this point in the history
  • Loading branch information
Cpasjuste committed May 9, 2022
1 parent 59fcdf3 commit 179703e
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions ui/c2dui_config.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,8 @@ Config::Config(c2d::Io *io, int ver, const std::string &defaultRomsPath) {
}
get()->at(get()->size() - 1).setInfo("YOU NEED TO RESTART THE APPLICATION AFTER CHANGING THIS OPTION");

append("VIDEO_SNAP_DELAY", 5, Option::Id::GUI_VIDEO_SNAP_DELAY, Option::Flags::INTEGER);
append("VIDEO_SNAP_DELAY", {"3", "5", "7", "10"}, 1,
Option::Id::GUI_VIDEO_SNAP_DELAY, Option::Flags::STRING);

/////////////////////////////////////////////////
/// default rom config
Expand Down Expand Up @@ -113,8 +114,8 @@ Config::Config(c2d::Io *io, int ver, const std::string &defaultRomsPath) {
append("JOY_AXIS_RY", KEY_JOY_AXIS_RY, Option::Id::JOY_AXIS_RY, Option::Flags::INPUT | Option::Flags::HIDDEN);
append("JOY_DEADZONE",
{"2000", "4000", "6000", "8000", "10000", "12000", "14000", "16000",
"18000", "20000", "22000", "24000", "26000", "28000", "30000"}, 3, Option::Id::JOY_DEADZONE,
Option::Flags::INTEGER);
"18000", "20000", "22000", "24000", "26000", "28000", "30000"}, 3,
Option::Id::JOY_DEADZONE, Option::Flags::STRING);
#ifndef NO_KEYBOARD
// keyboard
append("KEYBOARD", {"KEYBOARD"}, 0, Option::Id::MENU_KEYBOARD, Option::Flags::MENU);
Expand Down

0 comments on commit 179703e

Please sign in to comment.