Skip to content

Commit

Permalink
Fix non-fat
Browse files Browse the repository at this point in the history
  • Loading branch information
jakeajames authored Apr 4, 2020
1 parent 704cee7 commit 53fb2ba
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions patchfinder64.m
Original file line number Diff line number Diff line change
Expand Up @@ -526,6 +526,7 @@ static int DecodeMov(uint32_t opcode, uint64_t total, int first, uint64_t *newva

uint32_t magic;
read(fd, &magic, 4);
lseek(fd, 0, SEEK_SET);
if (magic == 0xbebafeca) {
struct fat_header fat;
lseek(fd, sizeof(fat), SEEK_SET);
Expand Down

0 comments on commit 53fb2ba

Please sign in to comment.