mirror of
https://github.com/citra-emu/citra.git
synced 2024-11-24 19:11:04 +00:00
sorry so many mistakes
This commit is contained in:
parent
1a088b85c6
commit
60a1170250
@ -80,7 +80,7 @@ void GameList::DonePopulating()
|
|||||||
void GameList::PopulateAsync(const QString& dir_path, bool deep_scan)
|
void GameList::PopulateAsync(const QString& dir_path, bool deep_scan)
|
||||||
{
|
{
|
||||||
if (!FileUtil::Exists(dir_path.toStdString()) || !FileUtil::IsDirectory(dir_path.toStdString())) {
|
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;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -400,7 +400,7 @@ void GMainWindow::OnMenuRecentFile() {
|
|||||||
QString filename = action->data().toString();
|
QString filename = action->data().toString();
|
||||||
QFileInfo file_info(filename);
|
QFileInfo file_info(filename);
|
||||||
if (file_info.exists()) {
|
if (file_info.exists()) {
|
||||||
BootGame(filename.toLocale8Bit().data());
|
BootGame(filename.toLocal8Bit().data());
|
||||||
StoreRecentFile(filename); // Put the filename on top of the list
|
StoreRecentFile(filename); // Put the filename on top of the list
|
||||||
} else {
|
} else {
|
||||||
// Display an error message and remove the file from the list.
|
// Display an error message and remove the file from the list.
|
||||||
|
Loading…
Reference in New Issue
Block a user