mGUI: Add SGB border configuration option

This commit is contained in:
Vicki Pfau 2018-09-26 17:06:04 -07:00
parent 20e0c8f303
commit 031081b005
2 changed files with 12 additions and 0 deletions

View File

@ -105,6 +105,8 @@ Bugfixes:
- PSP2: Fix audio crackling after fast forward
- PSP2: Fix audio crackling when buffer is full
- 3DS: Fix unused screens not clearing (fixes mgba.io/i/1184)
Misc:
- mGUI: Add SGB border configuration option
0.6 beta 1: (2018-09-24)
- Initial beta for 0.6

View File

@ -108,6 +108,16 @@ void mGUIShowConfig(struct mGUIRunner* runner, struct GUIMenuItem* extra, size_t
.title = "Select SGB BIOS path",
.data = "sgb.bios",
};
*GUIMenuItemListAppend(&menu.items) = (struct GUIMenuItem) {
.title = "Enable SGB borders",
.data = "sgb.borders",
.submenu = 0,
.state = true,
.validStates = (const char*[]) {
"Off", "On"
},
.nStates = 2
};
#endif
size_t i;
const char* mapNames[GUI_MAX_INPUTS + 1];