chore(cpu): rename discriminants of ImeState enum

This commit is contained in:
2021-08-14 16:42:15 -05:00
parent 53dfaf0de2
commit 8c9567b610
2 changed files with 7 additions and 14 deletions

View File

@@ -971,7 +971,7 @@ impl Instruction {
}
Instruction::EI => {
// EI | Enable IME after the next instruction
cpu.set_ime(ImeState::Pending);
cpu.set_ime(ImeState::EiExecuted);
Cycle::new(4)
}
Instruction::CALL(cond) => {