mirror of
https://git.eden-emu.dev/eden-emu/eden
synced 2026-05-21 11:46:59 +02:00
Fix NSO loading
This commit is contained in:
parent
2b713001fe
commit
85e3b7a10b
4 changed files with 39 additions and 14 deletions
|
|
@ -2939,7 +2939,7 @@ void MainWindow::OnMenuLoadFolder() {
|
|||
|
||||
const QDir dir{dir_path};
|
||||
const QStringList matching_main = dir.entryList({QStringLiteral("main")}, QDir::Files);
|
||||
if (matching_main.size() == 1) {
|
||||
if (matching_main.size() > 0) {
|
||||
BootGame(dir.path() + QDir::separator() + matching_main[0], ApplicationAppletParameters());
|
||||
} else {
|
||||
QMessageBox::warning(this, tr("Invalid Directory Selected"),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue