"Fix" the twlbg patches and make them optional
This commit is contained in:
@@ -43,7 +43,8 @@ void configureCFW(void)
|
||||
"( ) Show current NAND in System Settings",
|
||||
"( ) Show GBA boot screen in patched AGB_FIRM",
|
||||
"( ) Display splash screen before payloads",
|
||||
"( ) Use a PIN" };
|
||||
"( ) Use a PIN",
|
||||
"( ) Enable experimental TwlBg patches" };
|
||||
|
||||
struct multiOption {
|
||||
int posXs[4];
|
||||
|
||||
@@ -320,7 +320,7 @@ static inline void patchLegacyFirm(FirmwareType firmType)
|
||||
|
||||
applyLegacyFirmPatches((u8 *)firm, firmType);
|
||||
|
||||
if(firmType == TWL_FIRM)
|
||||
if(firmType == TWL_FIRM && CONFIG(8))
|
||||
patchTwlBg((u8 *)firm + section[1].offset);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user