IOPBios: Properly increment host dir iterator

Fixes uLaunchELF and any other homebrew that iterates over directories.
This commit is contained in:
Ty Lamontagne 2022-09-17 14:40:19 -04:00 committed by refractionpcsx2
parent e94f56a185
commit 4ad563f8fc
1 changed files with 1 additions and 1 deletions

View File

@ -356,7 +356,7 @@ namespace R3000A
StringUtil::Strlcpy(hostcontent->name, dir->FileName, sizeof(hostcontent->name));
host_stat(host_path(Path::Combine(basedir, dir->FileName), true), &hostcontent->stat);
static_cast<void>(std::next(dir)); /* This is for avoid warning of non used return value */
dir = std::next(dir);
return 1;
}