More logical this way

This commit is contained in:
Aurora 2016-03-24 17:24:16 +01:00
parent 39a9eb5ccb
commit d23cd5acd5

View File

@ -76,14 +76,14 @@ void setupCFW(void){
if(needConfig){ if(needConfig){
if(a9lhSetup && pressed == SAFE_MODE)
error("Using Safe Mode would brick you, or remove A9LH!");
/* If L and one of the payload buttons are pressed, and if not using A9LH /* If L and one of the payload buttons are pressed, and if not using A9LH
the Safe Mode combo is not pressed, chainload an external payload */ the Safe Mode combo is not pressed, chainload an external payload */
if((pressed & BUTTON_L1) && (pressed & PAYLOAD_BUTTONS) && if((pressed & BUTTON_L1) && (pressed & PAYLOAD_BUTTONS) &&
pressed != SAFE_MODE) loadPayload(); pressed != SAFE_MODE) loadPayload();
if(a9lhSetup && pressed == SAFE_MODE)
error("Using Safe Mode would brick you, or remove A9LH!");
//If no configuration file exists or SELECT is held, load configuration menu //If no configuration file exists or SELECT is held, load configuration menu
if(needConfig == 2 || (pressed & BUTTON_SELECT)) if(needConfig == 2 || (pressed & BUTTON_SELECT))
configureCFW(configPath); configureCFW(configPath);