Do not print extra hardware message when there is none

This commit is contained in:
Bart Trzynadlowski 2016-04-04 03:42:55 +00:00
parent d8aefa421d
commit a202d8adc3

View file

@ -3056,7 +3056,8 @@ bool CModel3::LoadROMSet(const struct GameInfo *GameList, const char *zipFile)
printf(" Developer: %s\n", Game->mfgName); printf(" Developer: %s\n", Game->mfgName);
printf(" Year: %d\n", Game->year); printf(" Year: %d\n", Game->year);
printf(" Step: %d.%d\n", (Game->step>>4)&0xF, Game->step&0xF); printf(" Step: %d.%d\n", (Game->step>>4)&0xF, Game->step&0xF);
printf(" Extra Hardware: %s\n", Util::Format(", ").Join(extraHw).str().c_str()); if (!extraHw.empty())
printf(" Extra Hardware: %s\n", Util::Format(", ").Join(extraHw).str().c_str());
printf("\n"); printf("\n");
return OKAY; return OKAY;