mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-08-02 23:42:43 +00:00
clang
This commit is contained in:
parent
a6a8f2a00b
commit
e2592c8610
@ -70,7 +70,7 @@ std::filesystem::path MntPoints::GetHostPath(std::string_view path, bool* is_rea
|
||||
std::filesystem::path host_path = mount->host_path / rel_path;
|
||||
std::filesystem::path patch_path = mount->host_path;
|
||||
patch_path += "-UPDATE";
|
||||
if(!std::filesystem::exists(patch_path)) {
|
||||
if (!std::filesystem::exists(patch_path)) {
|
||||
patch_path = mount->host_path;
|
||||
patch_path += "-patch";
|
||||
}
|
||||
|
@ -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") || !fileInfo.filePath().endsWith("-patch"))) {
|
||||
if (fileInfo.isDir() && (!fileInfo.filePath().endsWith("-UPDATE") ||
|
||||
!fileInfo.filePath().endsWith("-patch"))) {
|
||||
gameComboBox->addItem(fileInfo.fileName()); // Add game name to combo box
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user