Skip to content

Commit

Permalink
Fixed FAT issue
Browse files Browse the repository at this point in the history
  • Loading branch information
George Dan committed Dec 25, 2017
1 parent b806a9b commit deab151
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
Binary file modified async_wake_ios/binaries/amfid_payload.dylib
Binary file not shown.
2 changes: 1 addition & 1 deletion async_wake_ios/binaries/amfid_payload.m
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,7 @@ uint32_t swap_uint32(uint32_t val) {
fread(&size_cs, sizeof(uint32_t), 1, fd);

uint8_t *cd = malloc(size_cs);
fseek(fd, off_cs, SEEK_SET);
fseek(fd, off_cs+file_off, SEEK_SET);
fread(cd, size_cs, 1, fd);
return cd;
} else {
Expand Down

0 comments on commit deab151

Please sign in to comment.