Merge branch 'import-keys' of https://github.com/anpilley/yuzu into import-keys

This commit is contained in:
Andrew Pilley 2024-02-19 15:21:48 +11:00
commit d61c022c3c

View file

@ -4331,7 +4331,7 @@ void GMainWindow::OnInstallDecryptionKeys() {
}
// There should be at least prod.keys.
if (source_key_files.size() < 1 || !prod_keys_found) {
if (source_key_files.empty() || !prod_keys_found) {
QMessageBox::warning(this, tr("Decryption Keys install failed"),
tr("prod.keys is a required decryption key file."));
return;