diff --git a/src/main.rs b/src/main.rs index a203690..8e14d8f 100644 --- a/src/main.rs +++ b/src/main.rs @@ -96,8 +96,8 @@ impl Memory { fn set(&mut self, address: Address, data: u8) { match address { 0x0..0x8000 => { - panic!("tried to write to rom?"); - // self.rom[address as usize] = data; + // change this with MBC code... + println!("tried to write to rom?"); } 0x8000..0xA000 => { self.vram[(address - 0x8000) as usize] = data;