-fixed black covers in nand/emu nand view if gametdb is present

This commit is contained in:
fix94.1 2012-01-28 13:42:46 +00:00
parent 74450fba18
commit 93fc90c494

View File

@ -954,7 +954,9 @@ unsigned int GameTDB::FindCaseColor(char * data)
char * ColorNode = GetNodeText(data, "<case color=\"", "\"/>");
if(!ColorNode)
return color;
if(strlen(ColorNode) == 0)
return color;
char format[8];
sprintf(format, "0x%s", ColorNode);