chore(cartrige): rewrite error to be more descriptive

This commit is contained in:
Rekai Nyangadzayi Musuka 2021-06-04 13:47:49 -05:00
parent 811a9f9cc9
commit 2e42513d71
1 changed files with 1 additions and 1 deletions

View File

@ -81,7 +81,7 @@ impl Cartridge {
0x00 => MbcKind::None, 0x00 => MbcKind::None,
0x01 => MbcKind::Mbc1, 0x01 => MbcKind::Mbc1,
0x19 => MbcKind::Mbc5, 0x19 => MbcKind::Mbc5,
_ => unimplemented!("{} is the id of an unsupported memory bank controller", id), _ => unimplemented!("id {:#04X} is an unsupported MBC", id),
} }
} }
} }