1
0
Fork 0
mirror of https://github.com/Atmosphere-NX/Atmosphere.git synced 2024-11-26 22:02:15 +00:00

fs.mitm: fix inverted ifile condition

This commit is contained in:
Michael Scire 2019-03-22 08:58:08 -07:00
parent 634ce933be
commit c8a4a6dc58

View file

@ -79,7 +79,7 @@ class IFile {
}
Result OperateRange(u32 operation_type, u64 offset, u64 size, FsRangeInfo *out_range_info) {
if (operation_type != 3) {
if (operation_type == 3) {
return OperateRangeImpl(operation_type, offset, size, out_range_info);
}
return ResultFsUnsupportedOperation;