From 6e0f1e52353e3cae7d3f7c0a518e23fb6b5997cf Mon Sep 17 00:00:00 2001 From: Aurora Date: Thu, 15 Sep 2016 23:57:55 +0200 Subject: [PATCH] If 'Autoboot SysNAND' is unchecked, it's impossible to select the EmuNAND if having a corrisponding directional pad payload. Skip the payload launching if 'A' is held to make this possible --- source/firm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/firm.c b/source/firm.c index 9ecc5cc5..341c3cf4 100755 --- a/source/firm.c +++ b/source/firm.c @@ -174,7 +174,7 @@ void main(void) /* If L and R/A/Select or one of the single payload buttons are pressed, chainload an external payload */ - bool shouldLoadPayload = ((pressed & SINGLE_PAYLOAD_BUTTONS) && !(pressed & (BUTTON_L1 | BUTTON_R1))) || + bool shouldLoadPayload = ((pressed & SINGLE_PAYLOAD_BUTTONS) && !(pressed & (BUTTON_L1 | BUTTON_R1 | BUTTON_A))) || ((pressed & L_PAYLOAD_BUTTONS) && (pressed & BUTTON_L1)); if(shouldLoadPayload) loadPayload(pressed);