From: slack Date: Sun, 6 Jul 2008 04:02:46 +0000 (+0200) Subject: Improved error message in MBC.cc X-Git-Tag: v0.1~26 X-Git-Url: http://slack.codemaniacs.com/git/?a=commitdiff_plain;h=49fcadbb214ae88aeb508f9153eb2e401c9ad0d3;p=wenboi.git Improved error message in MBC.cc --- diff --git a/MBC.cc b/MBC.cc index bffe2b5..5437dbd 100644 --- a/MBC.cc +++ b/MBC.cc @@ -14,7 +14,8 @@ MBC *create_MBC(GBRom *rom) case ROM_ONLY: return new NoMBC(rom); //case MBC1: return new MBC1(rom); default: - logger.critical("Unsupported cartridge type"); + logger.critical("Unsupported cartridge type ", + int(rom->header.cartridge_type)); return 0; } }