mbc5 w/ rumble
This commit is contained in:
parent
30d9ddc713
commit
9418d1e98a
|
@ -38,6 +38,18 @@ impl Rom {
|
|||
println!("MBC5 w/battery - battery not implemented!");
|
||||
Box::new(Mbc5::init(data, rom_size, ram_size))
|
||||
}
|
||||
0x1C => {
|
||||
println!("MBC5 w/rumble - rumble not implemented!");
|
||||
Box::new(Mbc5::init(data, rom_size, 0))
|
||||
}
|
||||
0x1D => {
|
||||
println!("MBC5 w/rumble - rumble not implemented!");
|
||||
Box::new(Mbc5::init(data, rom_size, ram_size))
|
||||
}
|
||||
0x1E => {
|
||||
println!("MBC5 w/rumble + battery - rumble + battery not implemented!");
|
||||
Box::new(Mbc5::init(data, rom_size, ram_size))
|
||||
}
|
||||
_ => panic!("unimplemented mbc: {:#X}", data[0x147]),
|
||||
};
|
||||
Self { title, mbc }
|
||||
|
|
Loading…
Reference in a new issue