mirror of
https://github.com/RetroDECK/Duckstation.git
synced 2024-11-30 09:35:40 +00:00
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 a new issue