feat: don't embed gb boot rom in emulator

This commit is contained in:
2021-01-27 22:07:31 -06:00
parent c29c71a8c2
commit b053260c8b
3 changed files with 18 additions and 5 deletions

View File

@@ -34,9 +34,9 @@ impl Cpu {
}
}
pub fn boot_new() -> Self {
pub fn boot_new(path: &str) -> Self {
Self {
bus: Bus::with_boot(),
bus: Bus::with_boot(path),
..Default::default()
}
}