chore: print cartridge info in stderr
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2021-07-05 01:10:10 -05:00
parent 48e81ff426
commit 4f3fc3136d
2 changed files with 11 additions and 2 deletions

View File

@@ -17,6 +17,8 @@ pub fn init(boot_path: Option<&str>, rom_path: &str) -> Result<SM83> {
None => SM83::new(),
};
eprintln!("Initialized GB Emulator");
cpu.load_cartridge(rom_path)?;
Ok(cpu)
}