Skip to content

Commit

Permalink
fix crash fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Dregu committed Dec 1, 2020
1 parent 1c0f3ee commit ede1f94
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/injected/src/models.rs
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ impl State {
exe,
&hex!("57 41 54 48 83 EC 58"),
start,
)) - 1;
)) - 3;
let addr_zoom = get_zoom();
State {
location,
Expand Down Expand Up @@ -200,7 +200,7 @@ impl State {
write_mem_prot(self.addr_insta, &hex!("C3"), true);
} else {
write_mem_prot(self.addr_damage, &hex!("48"), true);
write_mem_prot(self.addr_insta, &hex!("40"), true);
write_mem_prot(self.addr_insta, &hex!("48"), true);
}
}

Expand Down

0 comments on commit ede1f94

Please sign in to comment.