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

- UnknownGameDialog: Use u32 for gameReport dependant functions
This commit is contained in:
aryanrawlani28 2020-07-22 04:53:38 +05:30 committed by Eugene Sandulenko
parent f95762881e
commit 01176e43f7
5 changed files with 21 additions and 18 deletions

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();