chore(cpu): rename ImeSet to ImeEnabled

This commit is contained in:
2021-04-05 00:53:46 -05:00
parent a15a6a25b6
commit 77c7c610d0
2 changed files with 3 additions and 3 deletions

View File

@@ -96,7 +96,7 @@ impl Cpu {
use HaltState::*;
match state {
ImeSet | NonePending => Cycle::new(4),
ImeEnabled | NonePending => Cycle::new(4),
SomePending => todo!("Implement HALT bug"),
}
}
@@ -470,7 +470,7 @@ impl From<u8> for Flags {
#[derive(Debug, Clone, Copy)]
pub enum HaltState {
ImeSet,
ImeEnabled,
NonePending,
SomePending,
}