mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2025-05-31 14:58:22 -04:00
fs: properly implement OperateRangeWithBuffer, correct OperationId names.
This commit is contained in:
parent
eb5542963f
commit
0dc308d92a
17 changed files with 54 additions and 34 deletions
|
@ -72,7 +72,7 @@ namespace ams::fs {
|
|||
|
||||
Result FileStorage::OperateRange(void *dst, size_t dst_size, OperationId op_id, s64 offset, s64 size, const void *src, size_t src_size) {
|
||||
switch (op_id) {
|
||||
case OperationId::InvalidateCache:
|
||||
case OperationId::Invalidate:
|
||||
case OperationId::QueryRange:
|
||||
if (size == 0) {
|
||||
if (op_id == OperationId::QueryRange) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue