From 60a117025033837121c44645cf97b3a3dd9d6fe7 Mon Sep 17 00:00:00 2001 From: wwylele Date: Thu, 8 Oct 2015 11:57:55 +0800 Subject: [PATCH] sorry so many mistakes --- src/citra_qt/game_list.cpp | 2 +- src/citra_qt/main.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/citra_qt/game_list.cpp b/src/citra_qt/game_list.cpp index a10eb74da..e925f08a7 100644 --- a/src/citra_qt/game_list.cpp +++ b/src/citra_qt/game_list.cpp @@ -80,7 +80,7 @@ void GameList::DonePopulating() void GameList::PopulateAsync(const QString& dir_path, bool deep_scan) { if (!FileUtil::Exists(dir_path.toStdString()) || !FileUtil::IsDirectory(dir_path.toStdString())) { - LOG_ERROR(Frontend, "Could not find game list folder at %s", dir_path.toLocal8bit().data()); + LOG_ERROR(Frontend, "Could not find game list folder at %s", dir_path.toLocal8Bit().data()); return; } diff --git a/src/citra_qt/main.cpp b/src/citra_qt/main.cpp index 80a98d3f3..70b693d1b 100644 --- a/src/citra_qt/main.cpp +++ b/src/citra_qt/main.cpp @@ -400,7 +400,7 @@ void GMainWindow::OnMenuRecentFile() { QString filename = action->data().toString(); QFileInfo file_info(filename); if (file_info.exists()) { - BootGame(filename.toLocale8Bit().data()); + BootGame(filename.toLocal8Bit().data()); StoreRecentFile(filename); // Put the filename on top of the list } else { // Display an error message and remove the file from the list.