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

fs: fix inverted alignment determination in compressed storage

This commit is contained in:
Michael Scire 2022-03-13 00:13:53 -08:00
parent f58eca5f7b
commit 46f2d34f25

View file

@ -996,7 +996,7 @@ namespace ams::fssystem {
} else if (!head_unaligned) { } else if (!head_unaligned) {
return true; return true;
} else { } else {
return static_cast<s64>(cur_size + cur_offset) < head_range.GetEndVirtualOffset(); return head_range.GetEndVirtualOffset() < static_cast<s64>(cur_size + cur_offset);
} }
} else { } else {
return false; return false;