Fix booting emuNAND with a > 9.6 FIRM

Hoping this is the last derp...
This commit is contained in:
Aurora 2016-02-20 22:15:37 +01:00
parent 005855dccb
commit 9b58208c12
2 changed files with 2 additions and 2 deletions

View File

@ -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 /* If L and R are pressed on a 9.0/2 SysNAND, or L on an updated
SysNAND, boot 9.0 FIRM */ SysNAND, boot 9.0 FIRM */
if((!updatedSys && (pressed & BUTTON_L1R1) == BUTTON_L1R1) || 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 not using an A9LH setup, do so by decrypting FIRM0
if(!a9lhSetup && !mode){ if(!a9lhSetup && !mode){

View File

@ -16,7 +16,7 @@
#define SAFEMODE (BUTTON_L1R1 | BUTTON_A | (1 << 6)) #define SAFEMODE (BUTTON_L1R1 | BUTTON_A | (1 << 6))
#define PATCHED_FIRM_PATH "/rei/patched_firmware.bin" #define PATCHED_FIRM_PATH "/rei/patched_firmware.bin"
u8 loadFirm(u8 a9lh); u8 loadFirm(u8 a9lhSetup);
u8 loadEmu(void); u8 loadEmu(void);
u8 patchFirm(void); u8 patchFirm(void);
void launchFirm(void); void launchFirm(void);