mirror of https://github.com/PCSX2/pcsx2.git
IOPBios: Properly increment host dir iterator
Fixes uLaunchELF and any other homebrew that iterates over directories.
This commit is contained in:
parent
e94f56a185
commit
4ad563f8fc
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue