mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-14 02:38:37 +12: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))
|
for (const auto& entry2 : fs::dir(base_dir + entry.name))
|
||||||
{
|
{
|
||||||
|
if (entry2.is_directory)
|
||||||
|
{
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
|
||||||
save_entry.size += entry2.size;
|
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))
|
for (const auto& entry2 : fs::dir(base_dir + entry.name))
|
||||||
{
|
{
|
||||||
|
if (entry2.is_directory)
|
||||||
|
{
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
|
||||||
save_entry2.size += entry2.size;
|
save_entry2.size += entry2.size;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue