libstrat: fix bugs/compiler warnings

This commit is contained in:
Michael Scire authored and SciresM committed 2020-07-02 14:02:50 -07:00
1 parent 70e67da1e1
commit 0a53c74aad
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. */