mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-04-20 19:45:20 +00:00
cellSaveData: Minor fix
This commit is contained in:
parent
f1e8739608
commit
2620a51cc9
1 changed files with 10 additions and 0 deletions
|
@ -136,6 +136,11 @@ static std::vector<SaveDataEntry> get_save_entries(const std::string& base_dir,
|
|||
|
||||
for (const auto& entry2 : fs::dir(base_dir + entry.name))
|
||||
{
|
||||
if (entry2.is_directory)
|
||||
{
|
||||
continue;
|
||||
}
|
||||
|
||||
save_entry.size += entry2.size;
|
||||
}
|
||||
|
||||
|
@ -643,6 +648,11 @@ static NEVER_INLINE error_code savedata_op(ppu_thread& ppu, u32 operation, u32 v
|
|||
|
||||
for (const auto& entry2 : fs::dir(base_dir + entry.name))
|
||||
{
|
||||
if (entry2.is_directory)
|
||||
{
|
||||
continue;
|
||||
}
|
||||
|
||||
save_entry2.size += entry2.size;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue