mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-09-05 04:05:27 +02:00
VirtFS: Normalize leading slashes in index.
Otherwise, we might consider "/x" and "x" to be different files, and fail to use the handler properly.
This commit is contained in:
@@ -54,7 +54,7 @@ public:
|
||||
|
||||
private:
|
||||
void LoadFileListIndex();
|
||||
int getFileListIndex(std::string& fileName);
|
||||
int getFileListIndex(const std::string &fileName);
|
||||
int getFileListIndex(u32 accessBlock, u32 accessSize, bool blockMode = false);
|
||||
std::string GetLocalPath(std::string localpath);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user