Skip to content

Commit

Permalink
chore: new set boot rom
Browse files Browse the repository at this point in the history
  • Loading branch information
joamag committed Jun 29, 2024
1 parent 004ad54 commit 3cf9649
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/gb.rs
Original file line number Diff line number Diff line change
Expand Up @@ -913,6 +913,10 @@ impl GameBoy {
self.boot_rom
}

pub fn set_boot_rom(&mut self, value: BootRom) {
self.boot_rom = value;
}

pub fn attach_null_serial(&mut self) {
self.attach_serial(Box::<NullDevice>::default());
}
Expand Down

0 comments on commit 3cf9649

Please sign in to comment.