projects
/
wenboi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8c7b3c5
)
Improved error message in MBC.cc
author
slack
<slack@codemaniacs.com>
Sun, 6 Jul 2008 04:02:46 +0000
(06:02 +0200)
committer
slack
<slack@codemaniacs.com>
Sun, 6 Jul 2008 04:02:46 +0000
(06:02 +0200)
MBC.cc
patch
|
blob
|
history
diff --git
a/MBC.cc
b/MBC.cc
index bffe2b5fb6d2755bc035b9bb8b5337a0ebf23def..5437dbdf3f4a9ca574d1880299935012c382c867 100644
(file)
--- 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;
}
}