mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-04 14:08:37 +00:00
sys_lwcond, sys_mutex, sys_cond rewritten
Some bugs fixed
This commit is contained in:
parent
209155d71d
commit
e94ea409fe
14 changed files with 489 additions and 315 deletions
|
|
@ -725,7 +725,7 @@ int cellRescSetBufferAddress(mem32_t colorBuffers, mem32_t vertexArray, mem32_t
|
|||
|
||||
if(!s_rescInternalInstance->m_bInitialized)
|
||||
return CELL_RESC_ERROR_NOT_INITIALIZED;
|
||||
if(!colorBuffers.GetAddr() || !vertexArray.GetAddr() || !fragmentShader.GetAddr())
|
||||
if(!colorBuffers.IsGood() || !vertexArray.IsGood() || !fragmentShader.IsGood())
|
||||
return CELL_RESC_ERROR_BAD_ARGUMENT;
|
||||
if(colorBuffers.GetAddr() % COLOR_BUFFER_ALIGNMENT ||
|
||||
vertexArray.GetAddr() % VERTEX_BUFFER_ALIGNMENT ||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue