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