I FINALLY FIXED IT !!!

This commit is contained in:
Alex Janka 2023-04-20 10:41:27 +10:00
parent b759625d5d
commit 02812aa458
2 changed files with 3 additions and 2 deletions

View file

@ -98,6 +98,7 @@ impl Debugger {
}
} else {
println!("Invalid command");
self.step();
return;
}
}

View file

@ -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,
}