mirror of
https://github.com/Fledge68/WiiFlow_Lite.git
synced 2024-11-27 13:44:15 +01:00
-fixed black covers in nand/emu nand view if gametdb is present
This commit is contained in:
parent
74450fba18
commit
93fc90c494
@ -954,7 +954,9 @@ unsigned int GameTDB::FindCaseColor(char * data)
|
|||||||
char * ColorNode = GetNodeText(data, "<case color=\"", "\"/>");
|
char * ColorNode = GetNodeText(data, "<case color=\"", "\"/>");
|
||||||
if(!ColorNode)
|
if(!ColorNode)
|
||||||
return color;
|
return color;
|
||||||
|
if(strlen(ColorNode) == 0)
|
||||||
|
return color;
|
||||||
|
|
||||||
char format[8];
|
char format[8];
|
||||||
sprintf(format, "0x%s", ColorNode);
|
sprintf(format, "0x%s", ColorNode);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user