From bdf6a1c70e3f9247f6a07cafdbfcde7b9db2938f Mon Sep 17 00:00:00 2001 From: Eladash Date: Sat, 13 Mar 2021 07:51:35 +0200 Subject: [PATCH] GUI: Handle all PUP files in drag-and-drop --- rpcs3/rpcs3qt/main_window.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rpcs3/rpcs3qt/main_window.cpp b/rpcs3/rpcs3qt/main_window.cpp index 972c65d3b5..bfe83bdb7b 100644 --- a/rpcs3/rpcs3qt/main_window.cpp +++ b/rpcs3/rpcs3qt/main_window.cpp @@ -2549,7 +2549,7 @@ main_window::drop_type main_window::IsValidFile(const QMimeData& md, QStringList drop_type = drop_type::drop_dir; } - else if (info.fileName() == "PS3UPDAT.PUP") + else if (info.suffix() == "PUP") { if (list.size() != 1) {