mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-08-04 08:22:32 +00:00
clang format
clang format clang format clang format clang hates me work please
This commit is contained in:
parent
277abf7f5a
commit
00890f73e7
@ -55,7 +55,6 @@ std::filesystem::path MntPoints::GetHostPath(std::string_view guest_directory, b
|
||||
const auto rel_path = std::string_view(corrected_path).substr(pos);
|
||||
std::filesystem::path host_path = mount->host_path / rel_path;
|
||||
|
||||
//Use file in update directory instead if it's there (e.g. CUSAXXXXX-UPDATE)
|
||||
std::filesystem::path patch_path = mount->host_path.string() + "-UPDATE";
|
||||
if (std::filesystem::exists(patch_path / rel_path)) {
|
||||
host_path = patch_path / rel_path;
|
||||
|
@ -292,8 +292,7 @@ public:
|
||||
QString message_type = tr("Game");
|
||||
if (selected == deleteUpdate) {
|
||||
if (!std::filesystem::exists(m_games[itemID].path + "-UPDATE")) {
|
||||
QMessageBox::critical(
|
||||
nullptr, tr("Error"),
|
||||
QMessageBox::critical(nullptr, tr("Error"),
|
||||
QString(tr("This game has no update to delete!")));
|
||||
error = true;
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user