libstrat: fix bugs/compiler warnings

This commit is contained in:
Michael Scire
2020-07-01 09:22:09 -07:00
committed by SciresM
parent 70e67da1e1
commit 0a53c74aad
8 changed files with 31 additions and 21 deletions

View File

@@ -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. */