diff --git a/libraries/libstratosphere/include/stratosphere/fssystem/fssystem_compressed_storage.hpp b/libraries/libstratosphere/include/stratosphere/fssystem/fssystem_compressed_storage.hpp index 059c9fd..ed1b434 100644 --- a/libraries/libstratosphere/include/stratosphere/fssystem/fssystem_compressed_storage.hpp +++ b/libraries/libstratosphere/include/stratosphere/fssystem/fssystem_compressed_storage.hpp @@ -996,7 +996,7 @@ } else if (!head_unaligned) { return true; } else { - return static_cast(cur_size + cur_offset) < head_range.GetEndVirtualOffset(); + return head_range.GetEndVirtualOffset() < static_cast(cur_size + cur_offset); } } else { return false;