BUGFIX: Video was not being XORed but just set.
This commit is contained in:
parent
bfb615cfe7
commit
6be443fa2b
@ -55,7 +55,7 @@ impl Chip8Video {
|
||||
} else {
|
||||
trace!("NOT TOGGLING");
|
||||
}
|
||||
self.memory[effective_address as usize] = new_value;
|
||||
self.memory[effective_address as usize] = new_value ^ old_value;
|
||||
self.to_owned()
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user