mirror of
https://github.com/scummvm/scummvm.git
synced 2026-06-20 05:45:29 +00:00
GUI: U32: Use unicode based generateGameReport correctly in all places
- UnknownGameDialog: Use u32 for gameReport dependant functions
This commit is contained in:
committed by
Eugene Sandulenko
parent
f95762881e
commit
01176e43f7
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user