all repos — mgba @ 1928d2b5fc234df201165c6e2e137264822ffd74

mGBA Game Boy Advance Emulator

Ports: Ability to crop SGB borders off screen (closes #1204)
Vicki Pfau vi@endrift.com
Fri, 07 Jun 2019 12:13:20 -0700
commit

1928d2b5fc234df201165c6e2e137264822ffd74

parent

62e39558485d896d794e912663915349f25ae390

2 files changed, 11 insertions(+), 0 deletions(-)

jump to
M CHANGESCHANGES

@@ -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.csrc/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];