chore(cartrige): rewrite error to be more descriptive
This commit is contained in:
parent
811a9f9cc9
commit
2e42513d71
|
@ -81,7 +81,7 @@ impl Cartridge {
|
|||
0x00 => MbcKind::None,
|
||||
0x01 => MbcKind::Mbc1,
|
||||
0x19 => MbcKind::Mbc5,
|
||||
_ => unimplemented!("{} is the id of an unsupported memory bank controller", id),
|
||||
_ => unimplemented!("id {:#04X} is an unsupported MBC", id),
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue