Skip to content
Snippets Groups Projects
main.rs 245 B
Newer Older
  • Learn to ignore specific revisions
  • use boytacean::gb::GameBoy;
    
    fn main() {
        let mut game_boy = GameBoy::new();
    
        game_boy.load_boot_default();
    
    
        for _ in 0..40000 {
            game_boy.clock();
    
            if game_boy.cpu().pc() >= 0x0032 {
    
                break;
            }