From 7b2a34e7f4b2e66ff25f0bc03eaf6205aa0bbcb9 Mon Sep 17 00:00:00 2001 From: Alex Janka Date: Mon, 27 Feb 2023 10:57:46 +1100 Subject: [PATCH] rumble on title --- src/processor/memory/rom/mbcs/mbc5.rs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/processor/memory/rom/mbcs/mbc5.rs b/src/processor/memory/rom/mbcs/mbc5.rs index ba12066..13fcecd 100644 --- a/src/processor/memory/rom/mbcs/mbc5.rs +++ b/src/processor/memory/rom/mbcs/mbc5.rs @@ -93,9 +93,10 @@ impl Mbc for Mbc5 { fn mbc_type(&self) -> String { if let Some(ram) = &self.ram { format!( - "{}KB MBC5 with {}KB RAM", + "{}KB MBC5 with {}KB RAM{}", self.rom_size / KB, - ram.len() / KB + ram.len() / KB, + if self.rumble { " and Rumble" } else { "" } ) } else { format!("{}KB MBC5", self.rom_size / KB)