I FINALLY FIXED IT !!!
This commit is contained in:
parent
b759625d5d
commit
02812aa458
|
@ -98,6 +98,7 @@ impl Debugger {
|
|||
}
|
||||
} else {
|
||||
println!("Invalid command");
|
||||
self.step();
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -135,8 +135,8 @@ impl Colour {
|
|||
fn as_bits(&self) -> u8 {
|
||||
match self {
|
||||
Colour::White => 0b00,
|
||||
Colour::LightGray => 0b10,
|
||||
Colour::DarkGray => 0b01,
|
||||
Colour::LightGray => 0b01,
|
||||
Colour::DarkGray => 0b10,
|
||||
Colour::Black => 0b11,
|
||||
Colour::Error => 0b00,
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue