GUI: U32: Use unicode based generateGameReport correctly in all places
- UnknownGameDialog: Use u32 for gameReport dependant functions
This commit is contained in:
parent
f95762881e
commit
01176e43f7
5 changed files with 21 additions and 18 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue