diff options
author | bunnei <bunneidev@gmail.com> | 2018-08-04 20:33:11 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-08-04 20:33:11 +0200 |
commit | 2b06301dbfbfe79687219bf7783a6d1b47695401 (patch) | |
tree | 222cc27ecbc7f7e86d2edef8d36436600dee7d7a /src/core/file_sys/vfs.h | |
parent | Merge pull request #919 from lioncash/sign (diff) | |
parent | Add missing parameter to files.push_back() (diff) | |
download | yuzu-2b06301dbfbfe79687219bf7783a6d1b47695401.tar yuzu-2b06301dbfbfe79687219bf7783a6d1b47695401.tar.gz yuzu-2b06301dbfbfe79687219bf7783a6d1b47695401.tar.bz2 yuzu-2b06301dbfbfe79687219bf7783a6d1b47695401.tar.lz yuzu-2b06301dbfbfe79687219bf7783a6d1b47695401.tar.xz yuzu-2b06301dbfbfe79687219bf7783a6d1b47695401.tar.zst yuzu-2b06301dbfbfe79687219bf7783a6d1b47695401.zip |
Diffstat (limited to 'src/core/file_sys/vfs.h')
-rw-r--r-- | src/core/file_sys/vfs.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/core/file_sys/vfs.h b/src/core/file_sys/vfs.h index cf871edd6..fab9e2b45 100644 --- a/src/core/file_sys/vfs.h +++ b/src/core/file_sys/vfs.h @@ -245,6 +245,9 @@ struct ReadOnlyVfsDirectory : public VfsDirectory { 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 = 0x200); + // 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. |