use crate::processor::memory::Address; mod mbc1; mod none; pub use mbc1::Mbc1; pub use none::None; pub(super) trait Mbc { fn get(&self, address: Address) -> u8; fn get_ram(&self, address: Address) -> u8; fn set(&mut self, address: Address, data: u8); fn set_ram(&mut self, address: Address, data: u8); fn mbc_type(&self) -> String; }