mirror of
https://github.com/yuzu-emu/yuzu-android.git
synced 2025-06-10 14:48:17 -05:00
Add additional empty check for the QStringList returned by the InstallDialog
This commit is contained in:
@ -1621,6 +1621,10 @@ void GMainWindow::OnMenuInstallToNAND() {
|
||||
|
||||
const QStringList files = installDialog.GetFiles();
|
||||
|
||||
if (files.isEmpty()) {
|
||||
return;
|
||||
}
|
||||
|
||||
int remaining = filenames.size();
|
||||
|
||||
// This would only overflow above 2^43 bytes (8.796 TB)
|
||||
|
Reference in New Issue
Block a user