From 9b58208c121d6468a06997f04abe946383e840f6 Mon Sep 17 00:00:00 2001 From: Aurora Date: Sat, 20 Feb 2016 22:15:37 +0100 Subject: [PATCH] Fix booting emuNAND with a > 9.6 FIRM Hoping this is the last derp... --- source/firm.c | 2 +- source/firm.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/source/firm.c b/source/firm.c index ccfa620..01d2ff7 100755 --- a/source/firm.c +++ b/source/firm.c @@ -39,7 +39,7 @@ u8 loadFirm(u8 a9lhBoot){ /* If L and R are pressed on a 9.0/2 SysNAND, or L on an updated SysNAND, boot 9.0 FIRM */ if((!updatedSys && (pressed & BUTTON_L1R1) == BUTTON_L1R1) || - (updatedSys && (pressed & BUTTON_L1))) mode = 0; + (updatedSys && (pressed & BUTTON_L1R1) == BUTTON_L1)) mode = 0; //If not using an A9LH setup, do so by decrypting FIRM0 if(!a9lhSetup && !mode){ diff --git a/source/firm.h b/source/firm.h index 2ebf676..8d81074 100644 --- a/source/firm.h +++ b/source/firm.h @@ -16,7 +16,7 @@ #define SAFEMODE (BUTTON_L1R1 | BUTTON_A | (1 << 6)) #define PATCHED_FIRM_PATH "/rei/patched_firmware.bin" -u8 loadFirm(u8 a9lh); +u8 loadFirm(u8 a9lhSetup); u8 loadEmu(void); u8 patchFirm(void); void launchFirm(void);