Directory-related functions implemented

* cellFsOpendir, cellFsReaddir, cellFsClosedir functions implemented.
* vfsDirBase: m_entryes, GetEntryes renamed to m_entries, GetEntries
respectively.
* vfsLocalDir: Read() function added to get the entries one by one.
* Moved IsExists() from vfsLocalDir to vfsDirBase to avoid "R6025 pure
virtual function call" error.
* Other minor changes in some functions of sys_fs
This commit is contained in:
Alexandro Sánchez Bach 2014-02-09 22:53:48 +01:00
parent 27a4e6a2b6
commit 4d98826259
8 changed files with 88 additions and 36 deletions

View file

@ -65,11 +65,11 @@ void PPUThread::InitRegs()
SetPc(pc);
/*
const s32 thread_num = Emu.GetCPU().GetThread NumById(GetType(), GetId());
const s32 thread_num = Emu.GetCPU().GetThreadNumById(GetType(), GetId());
if(thread_num < 0)
{
ConLog.Error("GetThread NumById failed.");
ConLog.Error("GetThreadNumById failed.");
Emu.Pause();
return;
}