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

fix: new return

parent e957e205
No related branches found
No related tags found
No related merge requests found
Pipeline #1626 passed
......@@ -412,7 +412,7 @@ impl Cartridge {
}
pub fn has_battery(&self) -> bool {
matches!(
return matches!(
self.rom_type(),
RomType::Mbc1RamBattery
| RomType::Mbc2Battery
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment