Skip to content
Snippets Groups Projects
Verified Commit 2954009b authored by João Magalhães's avatar João Magalhães :rocket:
Browse files

fix: new multiple matches

parent eb7ad5f1
Branches
Tags
No related merge requests found
Pipeline #1624 passed
...@@ -413,17 +413,17 @@ impl Cartridge { ...@@ -413,17 +413,17 @@ impl Cartridge {
pub fn has_battery(&self) -> bool { pub fn has_battery(&self) -> bool {
match self.rom_type() { match self.rom_type() {
RomType::Mbc1RamBattery => true, RomType::Mbc1RamBattery
RomType::Mbc2Battery => true, | RomType::Mbc2Battery
RomType::RomRamBattery => true, | RomType::RomRamBattery
RomType::Mmm01RamBattery => true, | RomType::Mmm01RamBattery
RomType::Mbc3TimerBattery => true, | RomType::Mbc3TimerBattery
RomType::Mbc3TimerRamBattery => true, | RomType::Mbc3TimerRamBattery
RomType::Mbc3RamBattery => true, | RomType::Mbc3RamBattery
RomType::Mbc5RamBattery => true, | RomType::Mbc5RamBattery
RomType::Mbc5RumbleRamBattery => true, | RomType::Mbc5RumbleRamBattery
RomType::Mbc7SensorRumbleRamBattery => true, | RomType::Mbc7SensorRumbleRamBattery
RomType::HuC1RamBattery => true, | RomType::HuC1RamBattery => true,
_ => false, _ => false,
} }
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment