Skip to content

Commit

Permalink
Implemented opcode EI
Browse files Browse the repository at this point in the history
  • Loading branch information
velllu committed Nov 27, 2023
1 parent b3dc0b5 commit 31ef718
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/cpu/opcodes.rs
Original file line number Diff line number Diff line change
Expand Up @@ -448,7 +448,8 @@ impl GameBoy {
0xB7 => { self.bitwise_operation_r(OneByteRegister::A, Bitwise::Or); (1, 1) },

// Interrupt stuff
0xF3 => { self.flags.ime = true; (1, 1) },
0xF3 => { self.flags.ime = false; (1, 1) },
0xFB => { self.flags.ime = true; (1, 1) },

_ => panic!("Opcode {:x} not implemented yet", opcode),
}
Expand Down

0 comments on commit 31ef718

Please sign in to comment.