mirror of
https://github.com/hrydgard/ppsspp.git
synced 2024-11-27 07:20:49 +00:00
Oops, this modifies the input string it seems.
Not sure if ISOs are actually case insensitive, though?
This commit is contained in:
parent
45f7afcfa1
commit
0592f56df5
@ -249,7 +249,7 @@ std::string VirtualDiscFileSystem::GetLocalPath(std::string localpath) {
|
||||
return basePath + localpath;
|
||||
}
|
||||
|
||||
int VirtualDiscFileSystem::getFileListIndex(const std::string &fileName)
|
||||
int VirtualDiscFileSystem::getFileListIndex(std::string &fileName)
|
||||
{
|
||||
std::string normalized;
|
||||
if (fileName.length() >= 1 && fileName[0] == '/') {
|
||||
|
@ -54,7 +54,8 @@ public:
|
||||
|
||||
private:
|
||||
void LoadFileListIndex();
|
||||
int getFileListIndex(const std::string &fileName);
|
||||
// Warning: modifies input string.
|
||||
int getFileListIndex(std::string &fileName);
|
||||
int getFileListIndex(u32 accessBlock, u32 accessSize, bool blockMode = false);
|
||||
std::string GetLocalPath(std::string localpath);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user