This commit is contained in:
Nekotekina 2014-01-26 02:53:02 +04:00
parent 88208f5e01
commit 4de64e5afe

View file

@ -156,7 +156,7 @@ void fsAioRead(u32 fd, mem_ptr_t<CellFsAio> aio, int xid, mem_func_ptr_t<void (*
//open the file again (to prevent access conflicts roughly) //open the file again (to prevent access conflicts roughly)
vfsLocalFile file(path, vfsRead); vfsLocalFile file(path, vfsRead);
*/ */
vfsStream& file = *(vfsStream*)FDs[fd]; vfsStream& file = *(vfsStream*)orig_file;
if(!Memory.IsGoodAddr(buf_addr, nbytes)) if(!Memory.IsGoodAddr(buf_addr, nbytes))
{ {
MemoryBlock& block = Memory.GetMemByAddr(buf_addr); MemoryBlock& block = Memory.GetMemByAddr(buf_addr);