fs: fixup all OperateRange implementations
This commit is contained in:
1 parent
4ad8dad416
commit
0fbf007bcf
11 files changed
+60
-41
No files matched your search
@@ -722,10 +722,7 @@ namespace ams::fssystem {
|
||||
|
||||
/* Invalidate caches, if we should. */
|
||||
if (op_id == fs::OperationId::Invalidate) {
|
||||
SharedCache cache(this);
|
||||
while (cache.AcquireNextOverlappedCache(offset, size)) {
|
||||
cache.Invalidate();
|
||||
}
|
||||
this->InvalidateCaches();
|
||||
}
|
||||
|
||||
R_RETURN(m_base_storage.OperateRange(dst, dst_size, op_id, offset, size, src, src_size));
|
||||
|
||||
Reference in new issue
Block a user