From 431fe9b3b16b4b8d55dec31f92685fe51bfc52df Mon Sep 17 00:00:00 2001 From: Andrew Pilley Date: Mon, 19 Feb 2024 15:08:32 +1100 Subject: [PATCH] Update src/yuzu/main.cpp Co-authored-by: Tobias --- src/yuzu/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/yuzu/main.cpp b/src/yuzu/main.cpp index df58b556e0..53f2172ffa 100644 --- a/src/yuzu/main.cpp +++ b/src/yuzu/main.cpp @@ -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;