Small fix (cellAudio, fsAioRead)

libsynth2 draft
This commit is contained in:
Nekotekina 2014-04-02 19:17:43 +04:00
parent e2e8980194
commit b6d8f1e028
8 changed files with 190 additions and 141 deletions

View file

@ -153,15 +153,6 @@ void fsAioRead(u32 fd, mem_ptr_t<CellFsAio> aio, int xid, mem_func_ptr_t<void (*
if(!sys_fs.CheckId(fd, orig_file)) return;
std::string path = orig_file->GetPath();
std::string::size_type first_slash = path.find('/');
if (first_slash == std::string::npos)
{
path = "";
}
else
{
path = path.substr(first_slash+1,std::string::npos);
}
u64 nbytes = aio->size;
u32 buf_addr = aio->buf_addr;