Skip to content

Commit

Permalink
Merge pull request zhlynn#93 from JosephShenton/patch-1
Browse files Browse the repository at this point in the history
URGENT: Fixes apps crashing and not installing!
  • Loading branch information
zhlynn authored Aug 10, 2020
2 parents 30105a1 + faf0719 commit 0f48d9b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion archo.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ bool ZArchO::Init(uint8_t *pBase, uint32_t uLength)

m_pBase = pBase;
m_uLength = uLength;
m_uCodeLength = m_uCodeLength = uLength + 16 - (uLength % 16);;
m_uCodeLength = (uLength % 16 == 0) ? uLength : uLength + 16 - (uLength % 16);
m_pHeader = (mach_header *)m_pBase;
m_b64 = (MH_MAGIC_64 == m_pHeader->magic || MH_CIGAM_64 == m_pHeader->magic) ? true : false;
m_bBigEndian = (MH_CIGAM == m_pHeader->magic || MH_CIGAM_64 == m_pHeader->magic) ? true : false;
Expand Down

0 comments on commit 0f48d9b

Please sign in to comment.