am: Correct content index bounds in ListDLCContentInfos.
This commit is contained in:
parent
c1ef7a753a
commit
142c2b6cfe
1 changed files with 1 additions and 1 deletions
|
@ -589,7 +589,7 @@ void Module::Interface::ListDLCContentInfos(Kernel::HLERequestContext& ctx) {
|
|||
if (tmd.Load(tmd_path) == Loader::ResultStatus::Success) {
|
||||
copied = std::min(content_count, static_cast<u32>(tmd.GetContentCount()));
|
||||
std::size_t write_offset = 0;
|
||||
for (u32 i = start_index; i < copied; i++) {
|
||||
for (u32 i = start_index; i < start_index + copied; i++) {
|
||||
std::shared_ptr<FileUtil::IOFile> romfs_file;
|
||||
u64 romfs_offset = 0;
|
||||
|
||||
|
|
Loading…
Reference in a new issue