mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-12-12 04:46:32 +00:00
Merge pull request #11714 from sepalani/check-wii-save-path
GameList: Check Wii save path
This commit is contained in:
commit
aaeaa9c6b6
@ -694,7 +694,14 @@ void GameList::OpenWiiSaveFolder()
|
||||
if (!game)
|
||||
return;
|
||||
|
||||
QUrl url = QUrl::fromLocalFile(QString::fromStdString(game->GetWiiFSPath()));
|
||||
const std::string path = game->GetWiiFSPath();
|
||||
if (!File::Exists(path))
|
||||
{
|
||||
ModalMessageBox::information(this, tr("Information"), tr("No save data found."));
|
||||
return;
|
||||
}
|
||||
|
||||
const QUrl url = QUrl::fromLocalFile(QString::fromStdString(path));
|
||||
QDesktopServices::openUrl(url);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user