mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-06 06:55:09 +00:00
DMA List commands
cellAudio: multiple queue support sys_cond simplified cellFsMkdir (?)
This commit is contained in:
parent
024aa0660c
commit
60d922da11
11 changed files with 215 additions and 175 deletions
|
|
@ -324,10 +324,15 @@ int cellFsMkdir(u32 path_addr, u32 mode)
|
|||
const wxString& ps3_path = Memory.ReadString(path_addr);
|
||||
sys_fs.Log("cellFsMkdir(path=\"%s\", mode=0x%x)", ps3_path.wx_str(), mode);
|
||||
|
||||
vfsDir dir;
|
||||
/*vfsDir dir;
|
||||
if(dir.IsExists(ps3_path))
|
||||
return CELL_EEXIST;
|
||||
if(!dir.Create(ps3_path))
|
||||
return CELL_EBUSY;*/
|
||||
|
||||
if(Emu.GetVFS().ExistsDir(ps3_path))
|
||||
return CELL_EEXIST;
|
||||
if(!Emu.GetVFS().CreateDir(ps3_path))
|
||||
return CELL_EBUSY;
|
||||
|
||||
return CELL_OK;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue