mirror of
https://github.com/skyline-emu/skyline.git
synced 2024-11-23 08:19:17 +01:00
Fixup IDirectory read
This commit is contained in:
parent
7491178a9e
commit
31c2fb7d7a
@ -28,7 +28,7 @@ namespace skyline::service::fssrv {
|
||||
auto outputEntries{request.outputBuf.at(0).cast<DirectoryEntry, std::dynamic_extent, true>()};
|
||||
size_t i{};
|
||||
|
||||
for (; i < std::min(entries.size(), outputEntries.size()); i++) {
|
||||
for (; i < std::min(entries.size() - remainingReadCount, outputEntries.size()); i++) {
|
||||
auto &entry{entries.at(i)};
|
||||
|
||||
outputEntries[i] = {
|
||||
|
Loading…
Reference in New Issue
Block a user