GameList: Ignore all whitespace characters in SYSTEM.CNF
Fixes some games not having serials displayed, e.g. Chrono Cross. Thanks to @TzakShrike for narrowing down the cause.
This commit is contained in:
parent
a56d7385eb
commit
7b4b2d5dc5
|
@ -63,7 +63,7 @@ std::string GameList::GetGameCodeForImage(CDImage* cdi)
|
||||||
reading_value = false;
|
reading_value = false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else if (ch == ' ')
|
else if (ch == ' ' || (ch >= 0x09 && ch <= 0x0D))
|
||||||
{
|
{
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue