Minor changes, some bugs fixed

cellVdec headers, cellFsAioRead review, sync stuff review, cellAdec and
cellVpost
This commit is contained in:
Nekotekina 2014-02-20 06:16:17 +04:00
parent d6fe398f79
commit 9351e50f63
19 changed files with 969 additions and 270 deletions

View file

@ -469,6 +469,9 @@ int cellVideoOutGetResolutionAvailability(u32 videoOut, u32 resolutionId, u32 as
return CELL_VIDEO_OUT_ERROR_UNSUPPORTED_VIDEO_OUT;
}
extern std::atomic<u32> g_FsAioReadID;
extern std::atomic<u32> g_FsAioReadCur;
int cellSysutilCheckCallback()
{
cellSysutil.Log("cellSysutilCheckCallback()");
@ -477,7 +480,7 @@ int cellSysutilCheckCallback()
CPUThread& thr = Emu.GetCallbackThread();
while (thr.IsAlive())
while (thr.IsAlive() || (g_FsAioReadCur < g_FsAioReadID))
{
Sleep(1);
if (Emu.IsStopped())