GUI: U32: Use unicode based generateGameReport correctly in all places

- UnknownGameDialog: Use u32 for gameReport dependant functions
This commit is contained in:
aryanrawlani28 authored and Eugene Sandulenko committed 2020-08-30 14:43:41 +02:00
1 parent f95762881e
commit 01176e43f7
5 files changed
+21 -18

No files matched your search

+2 -2
View File
@@ -980,8 +980,8 @@ static DetectedGames getGameList(const Common::FSNode &dir) {
DetectionResults detectionResults = EngineMan.detectGames(files);
if (detectionResults.foundUnknownGames()) {
Common::String report = detectionResults.generateUnknownGameReport(false, 80);
g_system->logMessage(LogMessageType::kInfo, report.c_str());
Common::U32String report = detectionResults.generateUnknownGameReport(false, 80);
g_system->logMessage(LogMessageType::kInfo, report.encode().c_str());
}
return detectionResults.listRecognizedGames();