mirror of
https://github.com/PCSX2/pcsx2.git
synced 2026-11-18 20:14:23 +01:00
IOPBios: Properly increment host dir iterator
Fixes uLaunchELF and any other homebrew that iterates over directories.
This commit is contained in:
1 parent
e94f56a185
commit
4ad563f8fc
1 file changed
+1
-1
+1
-1
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user