Ports: Ability to crop SGB borders off screen (closes #1204)

This commit is contained in:
Vicki Pfau 2019-06-07 12:13:20 -07:00
parent 62e3955848
commit 1928d2b5fc
2 changed files with 11 additions and 0 deletions

View File

@ -14,6 +14,7 @@ Features:
- Frame inspector for dissecting and debugging rendering
- Switch: Option to use built-in brightness sensor for Boktai
- Ports: Ability to enable or disable all SGB features (closes mgba.io/i/1205)
- Ports: Ability to crop SGB borders off screen (closes mgba.io/i/1204)
Emulation fixes:
- GBA: All IRQs have 7 cycle delay (fixes mgba.io/i/539, mgba.io/i/1208)
- GBA: Reset now reloads multiboot ROMs

View File

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