mirror of
https://github.com/Fledge68/WiiFlow_Lite.git
synced 2024-11-23 19:59:16 +01:00
-fixed black covers in nand/emu nand view if gametdb is present
This commit is contained in:
parent
74450fba18
commit
93fc90c494
@ -954,6 +954,8 @@ 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);
|
||||
|
Loading…
Reference in New Issue
Block a user