mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-06-30 14:26:16 +00:00
Handle "-patch" as the suffix for game update folders (#2674)
* Handle "-patch" as the suffix for game update folders * clang * clang 2
This commit is contained in:
parent
6f944ab117
commit
99332e4ec2
8 changed files with 39 additions and 9 deletions
|
@ -225,7 +225,8 @@ void EditorDialog::loadInstalledGames() {
|
|||
QDir parentFolder(installDir);
|
||||
QFileInfoList fileList = parentFolder.entryInfoList(QDir::Dirs | QDir::NoDotAndDotDot);
|
||||
for (const auto& fileInfo : fileList) {
|
||||
if (fileInfo.isDir() && !fileInfo.filePath().endsWith("-UPDATE")) {
|
||||
if (fileInfo.isDir() && (!fileInfo.filePath().endsWith("-UPDATE") ||
|
||||
!fileInfo.filePath().endsWith("-patch"))) {
|
||||
gameComboBox->addItem(fileInfo.fileName()); // Add game name to combo box
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue