mirror of
https://github.com/cemu-project/Cemu.git
synced 2026-06-22 12:33:07 -05:00
UI: Show "Could not decrypt title" for drag and drop too (#1962)
This commit is contained in:
parent
079a4af651
commit
4ee027d3a8
|
|
@ -548,8 +548,7 @@ bool MainWindow::FileLoad(const fs::path launchPath, wxLaunchGameEvent::INITIATE
|
|||
wxMessageBox(t, _("Error"), wxOK | wxCENTRE | wxICON_ERROR);
|
||||
return false;
|
||||
}
|
||||
else if (initiatedBy == wxLaunchGameEvent::INITIATED_BY::MENU ||
|
||||
initiatedBy == wxLaunchGameEvent::INITIATED_BY::COMMAND_LINE)
|
||||
else
|
||||
{
|
||||
wxString t = _("Unable to launch game\nPath:\n");
|
||||
t.append(_pathToUtf8(launchPath));
|
||||
|
|
@ -566,13 +565,6 @@ bool MainWindow::FileLoad(const fs::path launchPath, wxLaunchGameEvent::INITIATE
|
|||
wxMessageBox(t, _("Error"), wxOK | wxCENTRE | wxICON_ERROR);
|
||||
return false;
|
||||
}
|
||||
else
|
||||
{
|
||||
wxString t = _("Unable to launch game\nPath:\n");
|
||||
t.append(_pathToUtf8(launchPath));
|
||||
wxMessageBox(t, _("Error"), wxOK | wxCENTRE | wxICON_ERROR);
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
if(launchTitle.IsValid())
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user