Skip to content

Commit

Permalink
undo "fix"
Browse files Browse the repository at this point in the history
  • Loading branch information
lenawanel committed Apr 20, 2024
1 parent b445006 commit 5261719
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/emu.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1431,7 +1431,7 @@ impl Emu {
self.set_reg(self.memory.cur_alc.0, Register::RAX);
} else {
// ignore deallocations for now
if let Some((addr, _)) =
if let Some((_, addr)) =
self.memory.allocate(rdi as usize - self.memory.cur_alc.0)
{
self.set_reg(addr.0, Register::RAX)
Expand Down

0 comments on commit 5261719

Please sign in to comment.