Skip to content

Commit

Permalink
koekeishiya#589 add offset for add space
Browse files Browse the repository at this point in the history
  • Loading branch information
koekeishiya authored and unrevre committed Jun 25, 2020
1 parent 6fa1e7a commit 14431ff
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/osax/common.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#ifndef SA_COMMON_H
#define SA_COMMON_H

#define OSAX_VERSION "1.0.16"
#define OSAX_VERSION "1.0.17"

#define OSAX_PAYLOAD_SUCCESS 0
#define OSAX_PAYLOAD_NOT_FOUND 1
Expand Down
4 changes: 3 additions & 1 deletion src/osax/payload.m
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,9 @@ uint64_t get_dppm_offset(NSOperatingSystemVersion os_version) {
}

uint64_t get_add_space_offset(NSOperatingSystemVersion os_version) {
if (os_version.minorVersion == 15) {
if (os_version.minorVersion == 16) {
return 0x230000;
} else if (os_version.minorVersion == 15) {
return 0x230000;
} else if (os_version.minorVersion == 14) {
return 0x27e500;
Expand Down

0 comments on commit 14431ff

Please sign in to comment.