Ports: Ability to crop SGB borders off screen (closes #1204)
Vicki Pfau vi@endrift.com
Fri, 07 Jun 2019 12:13:20 -0700
2 files changed,
11 insertions(+),
0 deletions(-)
M
CHANGES
→
CHANGES
@@ -14,6 +14,7 @@ - Interframe blending for games that use flicker effects
- 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
M
src/feature/gui/gui-config.c
→
src/feature/gui/gui-config.c
@@ -142,6 +142,16 @@ "Off", "On"
}, .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];