Skip to content

Commit

Permalink
Unset FLAG_DISABLE_CHIP on Viper
Browse files Browse the repository at this point in the history
Should fix IPL not booting at all
  • Loading branch information
9ary committed Jul 1, 2017
1 parent c670177 commit a96e4d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dol2ipl.py
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ def main():
print("Invalid entry point and base address (must be 0x81300000)")
return -1

header = b"VIPR\x01\x02".ljust(16, b"\x00") + b"iplboot".ljust(16, b"\x00")
header = b"VIPR\x00\x02".ljust(16, b"\x00") + b"iplboot".ljust(16, b"\x00")
out = header + scramble(bytearray(0x720) + img)[0x720:]

else:
Expand Down

0 comments on commit a96e4d4

Please sign in to comment.