diff --git a/stratosphere/ams_mitm/source/fs_mitm/fs_ifile.hpp b/stratosphere/ams_mitm/source/fs_mitm/fs_ifile.hpp index 2a6057179..85caa017e 100644 --- a/stratosphere/ams_mitm/source/fs_mitm/fs_ifile.hpp +++ b/stratosphere/ams_mitm/source/fs_mitm/fs_ifile.hpp @@ -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;