mirror of
https://github.com/Atmosphere-NX/Atmosphere-libs.git
synced 2025-06-22 11:32:38 +02:00
fs: fix inverted alignment determination in compressed storage
This commit is contained in:
parent
a759a00e96
commit
96aa83a60b
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user