From 7b4b2d5dc5de3c8023c269858d796a9a0798974f Mon Sep 17 00:00:00 2001 From: Connor McLaughlin Date: Mon, 8 Jun 2020 03:05:10 +1000 Subject: [PATCH] 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. --- src/core/game_list.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/game_list.cpp b/src/core/game_list.cpp index e894e7d68..96fb78f67 100644 --- a/src/core/game_list.cpp +++ b/src/core/game_list.cpp @@ -63,7 +63,7 @@ std::string GameList::GetGameCodeForImage(CDImage* cdi) reading_value = false; } } - else if (ch == ' ') + else if (ch == ' ' || (ch >= 0x09 && ch <= 0x0D)) { continue; }