Add M3U file support for automatic disc switching

This commit is contained in:
JosJuice
2018-12-25 16:32:58 +01:00
parent 63c9831b93
commit 0c622929ba
4 changed files with 62 additions and 14 deletions

View File

@ -627,7 +627,7 @@ QStringList MainWindow::PromptFileNames()
QStringList paths = QFileDialog::getOpenFileNames(
this, tr("Select a File"),
settings.value(QStringLiteral("mainwindow/lastdir"), QStringLiteral("")).toString(),
tr("All GC/Wii files (*.elf *.dol *.gcm *.iso *.tgc *.wbfs *.ciso *.gcz *.wad *.dff);;"
tr("All GC/Wii files (*.elf *.dol *.gcm *.iso *.tgc *.wbfs *.ciso *.gcz *.wad *.dff *.m3u);;"
"All Files (*)"));
if (!paths.isEmpty())