summaryrefslogtreecommitdiffstats
path: root/src/core/file_sys/vfs.h
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2018-09-25 23:56:14 +0200
committerLioncash <mathew1800@gmail.com>2018-09-26 02:06:21 +0200
commit57616f9758a23bbb9d1f7c5797c2831926004e49 (patch)
treed44d7b33e0b1b0fa1c3dd8c049605c5ed3ef2222 /src/core/file_sys/vfs.h
parentvfs_concat/vfs_layered: Remove friend declarations from ConcatenatedVfsFile (diff)
downloadyuzu-57616f9758a23bbb9d1f7c5797c2831926004e49.tar
yuzu-57616f9758a23bbb9d1f7c5797c2831926004e49.tar.gz
yuzu-57616f9758a23bbb9d1f7c5797c2831926004e49.tar.bz2
yuzu-57616f9758a23bbb9d1f7c5797c2831926004e49.tar.lz
yuzu-57616f9758a23bbb9d1f7c5797c2831926004e49.tar.xz
yuzu-57616f9758a23bbb9d1f7c5797c2831926004e49.tar.zst
yuzu-57616f9758a23bbb9d1f7c5797c2831926004e49.zip
Diffstat (limited to '')
-rw-r--r--src/core/file_sys/vfs.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/core/file_sys/vfs.h b/src/core/file_sys/vfs.h
index cea4aa8b8..270291631 100644
--- a/src/core/file_sys/vfs.h
+++ b/src/core/file_sys/vfs.h
@@ -315,18 +315,19 @@ public:
bool Rename(std::string_view name) override;
};
-// Compare the two files, byte-for-byte, in increments specificed by block_size
-bool DeepEquals(const VirtualFile& file1, const VirtualFile& file2, size_t block_size = 0x1000);
+// Compare the two files, byte-for-byte, in increments specified by block_size
+bool DeepEquals(const VirtualFile& file1, const VirtualFile& file2,
+ std::size_t block_size = 0x1000);
// A method that copies the raw data between two different implementations of VirtualFile. If you
// are using the same implementation, it is probably better to use the Copy method in the parent
// directory of src/dest.
-bool VfsRawCopy(const VirtualFile& src, const VirtualFile& dest, size_t block_size = 0x1000);
+bool VfsRawCopy(const VirtualFile& src, const VirtualFile& dest, std::size_t block_size = 0x1000);
// A method that performs a similar function to VfsRawCopy above, but instead copies entire
// directories. It suffers the same performance penalties as above and an implementation-specific
// Copy should always be preferred.
-bool VfsRawCopyD(const VirtualDir& src, const VirtualDir& dest, size_t block_size = 0x1000);
+bool VfsRawCopyD(const VirtualDir& src, const VirtualDir& dest, std::size_t block_size = 0x1000);
// Checks if the directory at path relative to rel exists. If it does, returns that. If it does not
// it attempts to create it and returns the new dir or nullptr on failure.