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:
Connor McLaughlin 2020-06-08 03:05:10 +10:00
parent a56d7385eb
commit 7b4b2d5dc5
1 changed files with 1 additions and 1 deletions

View File

@ -63,7 +63,7 @@ std::string GameList::GetGameCodeForImage(CDImage* cdi)
reading_value = false;
}
}
else if (ch == ' ')
else if (ch == ' ' || (ch >= 0x09 && ch <= 0x0D))
{
continue;
}