mGUI: Game Boy Player feature support
Vicki Pfau vi@endrift.com
Wed, 14 Oct 2020 23:39:07 -0700
2 files changed,
15 insertions(+),
0 deletions(-)
M
CHANGES
→
CHANGES
@@ -10,6 +10,7 @@ - New unlicensed GB mappers: Pokémon Jade/Diamond, BBD, and Hitek
- Stack tracing tools in ARM debugger (by ahigerd) - Command scripts for CLI debugger (by ahigerd) - ARM disassembler now resolves addresses to symbol names + - Add Game Boy Player feature support to ports Emulation fixes: - ARM: Fix ALU reading PC after shifting - ARM: Fix STR storing PC after address calculation
M
src/feature/gui/gui-config.c
→
src/feature/gui/gui-config.c
@@ -130,6 +130,7 @@ *GUIMenuItemListAppend(&menu.items) = (struct GUIMenuItem) {
.title = "Select SGB BIOS path", .data = "sgb.bios", }; +#endif *GUIMenuItemListAppend(&menu.items) = (struct GUIMenuItem) { .title = "Interframe blending", .data = "interframeBlending",@@ -140,6 +141,19 @@ "Off", "On"
}, .nStates = 2 }; +#if defined(M_CORE_GBA) && (defined(GEKKO) || defined(__SWITCH__) || defined(PSP2)) + *GUIMenuItemListAppend(&menu.items) = (struct GUIMenuItem) { + .title = "Enable GBP features", + .data = "gba.forceGbp", + .submenu = 0, + .state = false, + .validStates = (const char*[]) { + "Off", "On" + }, + .nStates = 2 + }; +#endif +#ifdef M_CORE_GB *GUIMenuItemListAppend(&menu.items) = (struct GUIMenuItem) { .title = "Enable SGB features", .data = "sgb.model",