This commit is contained in:
Daniel Bulant 2023-01-25 12:33:00 +01:00
parent b74f980d2a
commit 3a3e394f09

View file

@ -139,9 +139,10 @@ impl Chip8 {
return; return;
} else if first == 2 { } else if first == 2 {
// call // call
debug_eprintln!("CALL {}", after_first); debug_eprintln!("CALL {after_first} {after_first:#02x}");
self.stack.push(self.pc); self.stack.push(self.pc);
self.pc = after_first; self.pc = after_first;
return;
} else if first == 3 { } else if first == 3 {
// if eq // if eq
debug_eprintln!("SE IF V{second} == {} SKIP", last_two); debug_eprintln!("SE IF V{second} == {} SKIP", last_two);