mirror of https://github.com/mgba-emu/mgba.git
Ports: Ability to crop SGB borders off screen (closes #1204)
This commit is contained in:
parent
62e3955848
commit
1928d2b5fc
1
CHANGES
1
CHANGES
|
@ -14,6 +14,7 @@ Features:
|
||||||
- Frame inspector for dissecting and debugging rendering
|
- Frame inspector for dissecting and debugging rendering
|
||||||
- Switch: Option to use built-in brightness sensor for Boktai
|
- 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 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:
|
Emulation fixes:
|
||||||
- GBA: All IRQs have 7 cycle delay (fixes mgba.io/i/539, mgba.io/i/1208)
|
- GBA: All IRQs have 7 cycle delay (fixes mgba.io/i/539, mgba.io/i/1208)
|
||||||
- GBA: Reset now reloads multiboot ROMs
|
- GBA: Reset now reloads multiboot ROMs
|
||||||
|
|
|
@ -142,6 +142,16 @@ void mGUIShowConfig(struct mGUIRunner* runner, struct GUIMenuItem* extra, size_t
|
||||||
},
|
},
|
||||||
.nStates = 2
|
.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
|
#endif
|
||||||
size_t i;
|
size_t i;
|
||||||
const char* mapNames[GUI_MAX_INPUTS + 1];
|
const char* mapNames[GUI_MAX_INPUTS + 1];
|
||||||
|
|
Loading…
Reference in New Issue