Expand the available screen gaps

This commit is contained in:
Jesse Talavera 2024-01-15 16:56:09 -05:00
parent 9d01ffb6ae
commit e422e3458a
2 changed files with 125 additions and 2 deletions

View File

@ -5,6 +5,14 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0),
and this project roughly adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## [Unreleased]
### Added
- Add support for screen gaps between 0 and 126 pixels, inclusive.
128-pixel gaps are no longer available due to
libretro limits on how many core option values can be defined.
## [1.0.1] - 2024-01-12
### Fixed

View File

@ -128,23 +128,138 @@ namespace MelonDsDs::config::definitions {
"Screen Gap",
nullptr,
"Choose how large the gap between the screens should be. "
"Vertical layouts (including rotations) only.",
"Vertical layouts (including rotations) only. "
"Dimensions exclude the effects of the frontend's scaling.",
nullptr,
config::screen::CATEGORY,
{
{"0", "None"},
{"1", "1px"},
{"2", "2px"},
{"3", "3px"},
{"4", "4px"},
{"5", "5px"},
{"6", "6px"},
{"7", "7px"},
{"8", "8px"},
{"9", "9px"},
{"10", "10px"},
{"11", "11px"},
{"12", "12px"},
{"13", "13px"},
{"14", "14px"},
{"15", "15px"},
{"16", "16px"},
{"17", "17px"},
{"18", "18px"},
{"19", "19px"},
{"20", "20px"},
{"21", "21px"},
{"22", "22px"},
{"23", "23px"},
{"24", "24px"},
{"25", "25px"},
{"26", "26px"},
{"27", "27px"},
{"28", "28px"},
{"29", "29px"},
{"30", "30px"},
{"31", "31px"},
{"32", "32px"},
{"33", "33px"},
{"34", "34px"},
{"35", "35px"},
{"36", "36px"},
{"37", "37px"},
{"38", "38px"},
{"39", "39px"},
{"40", "40px"},
{"41", "41px"},
{"42", "42px"},
{"43", "43px"},
{"44", "44px"},
{"45", "45px"},
{"46", "46px"},
{"47", "47px"},
{"48", "48px"},
{"49", "49px"},
{"50", "50px"},
{"51", "51px"},
{"52", "52px"},
{"53", "53px"},
{"54", "54px"},
{"55", "55px"},
{"56", "56px"},
{"57", "57px"},
{"58", "58px"},
{"59", "59px"},
{"60", "60px"},
{"61", "61px"},
{"62", "62px"},
{"63", "63px"},
{"64", "64px"},
{"65", "65px"},
{"66", "66px"},
{"67", "67px"},
{"68", "68px"},
{"69", "69px"},
{"70", "70px"},
{"71", "71px"},
{"72", "72px"},
{"73", "73px"},
{"74", "74px"},
{"75", "75px"},
{"76", "76px"},
{"77", "77px"},
{"78", "78px"},
{"79", "79px"},
{"80", "80px"},
{"81", "81px"},
{"82", "82px"},
{"83", "83px"},
{"84", "84px"},
{"85", "85px"},
{"86", "86px"},
{"87", "87px"},
{"88", "88px"},
{"89", "89px"},
{"90", "90px"},
{"128", "128px"},
{"91", "91px"},
{"92", "92px"},
{"93", "93px"},
{"94", "94px"},
{"95", "95px"},
{"96", "96px"},
{"97", "97px"},
{"98", "98px"},
{"99", "99px"},
{"100", "100px"},
{"101", "101px"},
{"102", "102px"},
{"103", "103px"},
{"104", "104px"},
{"105", "105px"},
{"106", "106px"},
{"107", "107px"},
{"108", "108px"},
{"109", "109px"},
{"110", "110px"},
{"111", "111px"},
{"112", "112px"},
{"113", "113px"},
{"114", "114px"},
{"115", "115px"},
{"116", "116px"},
{"117", "117px"},
{"118", "118px"},
{"119", "119px"},
{"120", "120px"},
{"121", "121px"},
{"122", "122px"},
{"123", "123px"},
{"124", "124px"},
{"125", "125px"},
{"126", "126px"},
{nullptr, nullptr},
},
"0"