Apply some Clang-Tidy fixes

This commit is contained in:
gamerforEA 2020-02-27 00:13:54 +04:00 committed by Ivan
parent c0fbf3091e
commit 93552a5958
34 changed files with 59 additions and 59 deletions

View file

@ -1306,7 +1306,7 @@ static NEVER_INLINE error_code savedata_op(ppu_thread& ppu, u32 operation, u32 v
// Create save directory if necessary
if (psf.size() && save_entry.isNew && !fs::create_dir(dir_path))
if (!psf.empty() && save_entry.isNew && !fs::create_dir(dir_path))
{
cellSaveData.warning("savedata_op(): failed to create %s (%s)", dir_path, fs::g_tls_error);
return CELL_SAVEDATA_ERROR_ACCESS_ERROR;