fs: fix inverted alignment determination in compressed storage

This commit is contained in:
Michael Scire authored and SciresM committed 2022-03-21 17:21:44 -07:00
1 parent da1b24b9b5
commit ba4e7c5866
1 file changed
+1 -1
@@ -996,7 +996,7 @@ namespace ams::fssystem {
} else if (!head_unaligned) {
return true;
} else {
return static_cast<s64>(cur_size + cur_offset) < head_range.GetEndVirtualOffset();
return head_range.GetEndVirtualOffset() < static_cast<s64>(cur_size + cur_offset);
}
} else {
return false;