Refactor enums

This commit is contained in:
Franco Colmenarez 2021-10-14 21:54:43 -05:00
parent 253da76fd5
commit b2190d1868
2 changed files with 492 additions and 509 deletions

View File

@ -2,11 +2,8 @@ use rust_boy::rom::ROM;
use rust_boy::console::Console; use rust_boy::console::Console;
fn main() -> std::io::Result<()> { fn main() -> std::io::Result<()> {
/* let myrom = ROM::load_file("roms/cpu_instrs.gb".to_string())?;
myrom.print_content(); */
let mut console = Console::new(); let mut console = Console::new();
console.cpu_run(); console.cpu_run();
/* let val: u8 = 0b00000010;
println!("{:08b}", val.rotate_left(7)); */
Ok(()) Ok(())
} }

File diff suppressed because it is too large Load Diff