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

This commit is contained in:
Henrik Rydgard
2012-11-06 19:34:17 +01:00
parent 3f730548b1
commit d769297d06
2 changed files with 9 additions and 0 deletions
+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);