registration: Update documentation and style
This commit is contained in:
parent
50ff8ec364
commit
83db3b452a
5 changed files with 69 additions and 42 deletions
|
@ -68,6 +68,7 @@ size_t ConcatenatedVfsFile::Read(u8* data, size_t length, size_t offset) const {
|
|||
}
|
||||
}
|
||||
|
||||
// Check if the entry should be the last one. The loop above will make it end().
|
||||
if (entry == files.end() && offset < files.rbegin()->first + files.rbegin()->second->GetSize())
|
||||
--entry;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue