mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2025-05-28 05:34:11 -04:00
fs: fixup all OperateRange implementations
This commit is contained in:
parent
4ad8dad416
commit
0fbf007bcf
11 changed files with 60 additions and 41 deletions
|
@ -122,6 +122,11 @@ namespace ams::fssystem {
|
|||
}
|
||||
|
||||
Result IndirectStorage::OperateRange(void *dst, size_t dst_size, fs::OperationId op_id, s64 offset, s64 size, const void *src, size_t src_size) {
|
||||
/* Validate pre-conditions. */
|
||||
AMS_ASSERT(offset >= 0);
|
||||
AMS_ASSERT(size >= 0);
|
||||
AMS_ASSERT(this->IsInitialized());
|
||||
|
||||
switch (op_id) {
|
||||
case fs::OperationId::Invalidate:
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue