mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2024-11-14 11:07:52 +01:00
fs: fix inverted alignment determination in compressed storage
This commit is contained in:
parent
da1b24b9b5
commit
ba4e7c5866
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user