diff --git a/libraries/libstratosphere/include/stratosphere/fssystem/fssystem_compressed_storage.hpp b/libraries/libstratosphere/include/stratosphere/fssystem/fssystem_compressed_storage.hpp index 059c9fd0f..ed1b434aa 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 @@ 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;