From 3cf9649b68ed5f99653ed2643c90329b789b49a2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jo=C3=A3o=20Magalh=C3=A3es?= <joamag@gmail.com>
Date: Sat, 29 Jun 2024 13:22:11 +0100
Subject: [PATCH] chore: new set boot rom

---
 src/gb.rs | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/src/gb.rs b/src/gb.rs
index b47f035b..144c7d4e 100644
--- a/src/gb.rs
+++ b/src/gb.rs
@@ -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());
     }
-- 
GitLab