libstrat: fix bugs/compiler warnings

This commit is contained in:
Michael Scire committed 2020-07-01 09:22:09 -07:00
1 parent d2fc7dba8c
commit c9ead205a4
8 files changed
+31 -21

No files matched your search

@@ -73,6 +73,8 @@ namespace ams::fssystem {
core_size = (size < buffer_round_up_difference) ? 0 : util::AlignDown(size - buffer_round_up_difference, data_alignment);
buffer_gap = buffer_round_up_difference;
offset_gap = GetRoundDownDifference(offset, data_alignment);
covered_offset = offset;
}
/* Read the core portion. */