new patch for ISOFilsSystem
This commit is contained in:
parent
0019666939
commit
2de2c53918
7 changed files with 23 additions and 23 deletions
|
@ -252,13 +252,13 @@ void MetaFileSystem::Shutdown()
|
|||
startingDirectory = "";
|
||||
}
|
||||
|
||||
u32 MetaFileSystem::OpenFile(std::string filename, FileAccess access)
|
||||
u32 MetaFileSystem::OpenFile(std::string filename, FileAccess access, const char *devicename)
|
||||
{
|
||||
std::string of;
|
||||
IFileSystem *system;
|
||||
if (MapFilePath(filename, of, &system))
|
||||
MountPoint *mount;
|
||||
if (MapFilePath(filename, of, &mount))
|
||||
{
|
||||
return system->OpenFile(of, access);
|
||||
return mount->system->OpenFile(of, access, mount->prefix.c_str());
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue