diff options
| author | 2021-06-22 17:21:59 -0700 | |
|---|---|---|
| committer | 2021-06-22 17:21:59 -0700 | |
| commit | 0308a2679ed87aa9cb07e2bde19e165dc454c322 (patch) | |
| tree | a1d29aacabab533673bff8043ec11864d68ed022 /src/core/hle | |
| parent | Merge pull request #6472 from Morph1984/spl (diff) | |
| parent | common: fs: Add a description of a regular file in IsFile (diff) | |
| download | yuzu-0308a2679ed87aa9cb07e2bde19e165dc454c322.tar.gz yuzu-0308a2679ed87aa9cb07e2bde19e165dc454c322.tar.xz yuzu-0308a2679ed87aa9cb07e2bde19e165dc454c322.zip | |
Merge pull request #6493 from Morph1984/fs-nodiscard
common: fs: Miscellaneous changes
Diffstat (limited to 'src/core/hle')
| -rw-r--r-- | src/core/hle/service/bcat/backend/boxcat.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/hle/service/bcat/backend/boxcat.cpp b/src/core/hle/service/bcat/backend/boxcat.cpp index a2844ea8c..dc15cf58b 100644 --- a/src/core/hle/service/bcat/backend/boxcat.cpp +++ b/src/core/hle/service/bcat/backend/boxcat.cpp | |||
| @@ -313,7 +313,7 @@ void SynchronizeInternal(AM::Applets::AppletManager& applet_manager, DirectoryGe | |||
| 313 | LOG_ERROR(Service_BCAT, "Boxcat synchronization failed with error '{}'!", res); | 313 | LOG_ERROR(Service_BCAT, "Boxcat synchronization failed with error '{}'!", res); |
| 314 | 314 | ||
| 315 | if (res == DownloadResult::NoMatchBuildId || res == DownloadResult::NoMatchTitleId) { | 315 | if (res == DownloadResult::NoMatchBuildId || res == DownloadResult::NoMatchTitleId) { |
| 316 | void(Common::FS::RemoveFile(zip_path)); | 316 | Common::FS::RemoveFile(zip_path); |
| 317 | } | 317 | } |
| 318 | 318 | ||
| 319 | HandleDownloadDisplayResult(applet_manager, res); | 319 | HandleDownloadDisplayResult(applet_manager, res); |
| @@ -445,7 +445,7 @@ std::optional<std::vector<u8>> Boxcat::GetLaunchParameter(TitleIDVersion title) | |||
| 445 | LOG_ERROR(Service_BCAT, "Boxcat synchronization failed with error '{}'!", res); | 445 | LOG_ERROR(Service_BCAT, "Boxcat synchronization failed with error '{}'!", res); |
| 446 | 446 | ||
| 447 | if (res == DownloadResult::NoMatchBuildId || res == DownloadResult::NoMatchTitleId) { | 447 | if (res == DownloadResult::NoMatchBuildId || res == DownloadResult::NoMatchTitleId) { |
| 448 | void(Common::FS::RemoveFile(bin_file_path)); | 448 | Common::FS::RemoveFile(bin_file_path); |
| 449 | } | 449 | } |
| 450 | 450 | ||
| 451 | HandleDownloadDisplayResult(applet_manager, res); | 451 | HandleDownloadDisplayResult(applet_manager, res); |