1
0
mirror of https://github.com/CTCaer/hekate.git synced 2024-12-26 18:15:20 +00:00

Merge pull request #164 from balika011/ipatches_fix

Fix ipatch printing
This commit is contained in:
Kostas Missos 2018-12-16 14:54:43 +02:00 committed by GitHub
commit cd1bb96241
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -222,7 +222,7 @@ int fuse_read_ipatch(void (*ipatch)(u32 offset, u32 value))
{ {
for (u32 i = 0; i < ipatch_count; i++) for (u32 i = 0; i < ipatch_count; i++)
{ {
u32 word = words[i]; u32 word = words[i + 1];
u32 addr = (word >> 16) * 2; u32 addr = (word >> 16) * 2;
u32 data = word & 0xffff; u32 data = word & 0xffff;