diff options
| author | Dentomologist <dentomologist@gmail.com> | 2025-10-05 16:17:12 -0700 |
|---|---|---|
| committer | Dentomologist <dentomologist@gmail.com> | 2025-10-05 16:29:41 -0700 |
| commit | f64e57442c813fc76bc775b4dc9ac41e18add80f (patch) | |
| tree | 34e06b7cbf72c8212efef4a40e01a6c60741cac3 /Source/Core/VideoCommon/OnScreenUI.cpp | |
| parent | 9c97498f4b2982221faf17e0cf97af43a6fa0984 (diff) | |
DeleteDirRecursively: Don't report error for absent directory
Check if the return value of std::filesystem::remove_all is -1 rather
than 0; the former is the specified return value if there's an error
while 0 just means the directory already didn't exist (which is the end
result we want).
Previously error messages such as the following were possible:
E[COMMON]: DeleteDirRecursively: [path]/User/RedirectSession/ failed The
operation completed successfully.
Also adds a period in the error string to make it look nicer.
Diffstat (limited to 'Source/Core/VideoCommon/OnScreenUI.cpp')
0 files changed, 0 insertions, 0 deletions
