mirror of
https://github.com/libretro/ppsspp.git
synced 2025-03-03 22:17:08 +00:00
Stop shadowing the i variable.
This commit is contained in:
parent
ee17699e09
commit
cdb676f17a
@ -178,8 +178,8 @@ bool MetaFileSystem::MapFilePath(const std::string &_inpath, std::string &outpat
|
||||
const std::string *currentDirectory = &startingDirectory;
|
||||
|
||||
int currentThread = __KernelGetCurThread();
|
||||
currentDir_t::iterator i = currentDir.find(currentThread);
|
||||
if (i == currentDir.end())
|
||||
currentDir_t::iterator it = currentDir.find(currentThread);
|
||||
if (it == currentDir.end())
|
||||
{
|
||||
//TODO: emulate PSP's error 8002032C: "no current working directory" if relative... may break things requiring fixes elsewhere
|
||||
if (inpath.find(':') == std::string::npos /* means path is relative */)
|
||||
@ -187,7 +187,7 @@ bool MetaFileSystem::MapFilePath(const std::string &_inpath, std::string &outpat
|
||||
}
|
||||
else
|
||||
{
|
||||
currentDirectory = &(i->second);
|
||||
currentDirectory = &(it->second);
|
||||
}
|
||||
|
||||
if ( RealPath(*currentDirectory, inpath, realpath) )
|
||||
|
Loading…
x
Reference in New Issue
Block a user