Skip to content

Commit 460a82f

Browse files
committed
Fix MBC3 not enabling battery-backed saves
1 parent ef80609 commit 460a82f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/src/memory/mbcs/mbc3.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ impl MBC3 {
139139
}
140140

141141
pub fn new(cart_info: Cartridge, rom: Rom) -> Self {
142-
let has_battery = cart_info.cart_type == 0x06;
142+
let has_battery = cart_info.cart_type == 0x13;
143143
MBC3 {
144144
rom,
145145
rom_bank: 1,

0 commit comments

Comments
 (0)