Add a flags field to HLEFunction. Fix a small path issue.

This commit is contained in:
Henrik Rydgard committed 2012-11-06 19:34:17 +01:00
1 parent 3f730548b1
commit d769297d06
2 files changed
+9

No files matched your search

+3
View File
@@ -223,6 +223,9 @@ ISOFileSystem::TreeEntry *ISOFileSystem::GetFromPath(std::string path)
return &entireISO;
}
if (path.substr(0,2) == "./")
path.erase(0,2);
if (path[0] == '/')
path.erase(0,1);