IOPBios: Properly increment host dir iterator

Fixes uLaunchELF and any other homebrew that iterates over directories.
This commit is contained in:
Ty Lamontagne authored and refractionpcsx2 committed 2022-09-18 01:52:22 +01:00
1 parent e94f56a185
commit 4ad563f8fc
1 file changed
+1 -1
+1 -1
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;
}