mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-06 06:55:09 +00:00
Small fixes
This commit is contained in:
parent
3fdb50b0ea
commit
01f3763eb4
6 changed files with 24 additions and 23 deletions
|
|
@ -148,8 +148,11 @@ int cellFsOpendir(u32 path_addr, mem32_t fd)
|
|||
wxString localPath;
|
||||
Emu.GetVFS().GetDevice(path, localPath);
|
||||
vfsLocalDir* dir = new vfsLocalDir(localPath);
|
||||
if(!dir->Open(localPath))
|
||||
if(!dir->IsOpened())
|
||||
{
|
||||
delete dir;
|
||||
return CELL_ENOENT;
|
||||
}
|
||||
|
||||
fd = sys_fs.GetNewId(dir);
|
||||
return CELL_OK;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue