From bd1547710e8a381aeac8ea082ee00968136252d4 Mon Sep 17 00:00:00 2001 From: Aurora Date: Mon, 11 Apr 2016 18:34:37 +0200 Subject: [PATCH] Derp --- source/firm.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/firm.c b/source/firm.c index 0cd1356..82be494 100755 --- a/source/firm.c +++ b/source/firm.c @@ -376,8 +376,8 @@ static inline void patchTwlAgbFirm(u32 firmType) /* Calculate the amount of patches to apply. Only count the boot screen patch for AGB_FIRM if the matching option was enabled (keep it as last) */ - u32 numPatches = firmType == 2 ? (sizeof(twlPatches) / sizeof(patchData)) : (sizeof(agbPatches) / sizeof(patchData) - !CONFIG(5, 1)); - const patchData *patches = firmType == 2 ? twlPatches : agbPatches; + u32 numPatches = firmType == 1 ? (sizeof(twlPatches) / sizeof(patchData)) : (sizeof(agbPatches) / sizeof(patchData) - !CONFIG(5, 1)); + const patchData *patches = firmType == 1 ? twlPatches : agbPatches; //Patch for(u32 i = 0; i < numPatches; i++)