mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-03 13:31:27 +12:00
File.cpp: add rounding_alignment argument to get_dir_size to allow GetSizeKB functions to report size more accurately
This commit is contained in:
parent
9dc06cef7f
commit
08c12f4c00
3 changed files with 9 additions and 9 deletions
|
@ -1,4 +1,4 @@
|
|||
#pragma once
|
||||
#pragma once
|
||||
|
||||
#include "types.h"
|
||||
#include "bit_set.h"
|
||||
|
@ -506,7 +506,7 @@ namespace fs
|
|||
bool remove_all(const std::string& path, bool remove_root = true);
|
||||
|
||||
// Get size of all files recursively
|
||||
u64 get_dir_size(const std::string& path);
|
||||
u64 get_dir_size(const std::string& path, u64 rounding_alignment = 1);
|
||||
|
||||
enum class error : uint
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue