diff --git a/libstratosphere/include/stratosphere/fssystem/fssystem_compressed_storage.hpp b/libstratosphere/include/stratosphere/fssystem/fssystem_compressed_storage.hpp index 059c9fd0..ed1b434a 100644 --- a/libstratosphere/include/stratosphere/fssystem/fssystem_compressed_storage.hpp +++ b/libstratosphere/include/stratosphere/fssystem/fssystem_compressed_storage.hpp @@ -996,7 +996,7 @@ namespace ams::fssystem { } 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;