mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-07 07:21:25 +12:00
++
This commit is contained in:
parent
95734b8b9a
commit
b5e7724e76
1 changed files with 3 additions and 3 deletions
|
@ -127,7 +127,7 @@ s64 cellSync2CondEstimateBufferSize(vm::ptr<const CellSync2CondAttribute> attr,
|
||||||
cellSync2->Warning("%s()", __FUNCTION__);
|
cellSync2->Warning("%s()", __FUNCTION__);
|
||||||
return GetCurrentPPUThread().FastCall2(libsync2 + 0x1B90, libsync2_rtoc);
|
return GetCurrentPPUThread().FastCall2(libsync2 + 0x1B90, libsync2_rtoc);
|
||||||
#else
|
#else
|
||||||
cellSync2->Todo("cellSync2MutexEstimateBufferSize(attr_addr=0x%x, bufferSize_addr=0x%x)", attr.addr(), bufferSize.addr());
|
cellSync2->Todo("cellSync2CondEstimateBufferSize(attr_addr=0x%x, bufferSize_addr=0x%x)", attr.addr(), bufferSize.addr());
|
||||||
|
|
||||||
if (attr->maxWaiters == 0 || attr->maxWaiters > 32768)
|
if (attr->maxWaiters == 0 || attr->maxWaiters > 32768)
|
||||||
return CELL_SYNC2_ERROR_INVAL;
|
return CELL_SYNC2_ERROR_INVAL;
|
||||||
|
@ -216,7 +216,7 @@ s64 cellSync2SemaphoreEstimateBufferSize(vm::ptr<const CellSync2SemaphoreAttribu
|
||||||
cellSync2->Warning("%s()", __FUNCTION__);
|
cellSync2->Warning("%s()", __FUNCTION__);
|
||||||
return GetCurrentPPUThread().FastCall2(libsync2 + 0x4AC4, libsync2_rtoc);
|
return GetCurrentPPUThread().FastCall2(libsync2 + 0x4AC4, libsync2_rtoc);
|
||||||
#else
|
#else
|
||||||
cellSync2->Todo("cellSync2MutexEstimateBufferSize(attr_addr=0x%x, bufferSize_addr=0x%x)", attr.addr(), bufferSize.addr());
|
cellSync2->Todo("cellSync2SemaphoreEstimateBufferSize(attr_addr=0x%x, bufferSize_addr=0x%x)", attr.addr(), bufferSize.addr());
|
||||||
|
|
||||||
if (attr->maxWaiters == 0 || attr->maxWaiters > 32768)
|
if (attr->maxWaiters == 0 || attr->maxWaiters > 32768)
|
||||||
return CELL_SYNC2_ERROR_INVAL;
|
return CELL_SYNC2_ERROR_INVAL;
|
||||||
|
@ -319,7 +319,7 @@ s64 cellSync2QueueEstimateBufferSize(vm::ptr<const CellSync2QueueAttribute> attr
|
||||||
cellSync2->Warning("%s()", __FUNCTION__);
|
cellSync2->Warning("%s()", __FUNCTION__);
|
||||||
return GetCurrentPPUThread().FastCall2(libsync2 + 0x2A98, libsync2_rtoc);
|
return GetCurrentPPUThread().FastCall2(libsync2 + 0x2A98, libsync2_rtoc);
|
||||||
#else
|
#else
|
||||||
cellSync2->Todo("cellSync2MutexEstimateBufferSize(attr_addr=0x%x, bufferSize_addr=0x%x)", attr.addr(), bufferSize.addr());
|
cellSync2->Todo("cellSync2QueueEstimateBufferSize(attr_addr=0x%x, bufferSize_addr=0x%x)", attr.addr(), bufferSize.addr());
|
||||||
|
|
||||||
if (attr->elementSize == 0 || attr->elementSize > 16384 || attr->elementSize % 16 || attr->depth == 0 || attr->depth > 4294967292 ||
|
if (attr->elementSize == 0 || attr->elementSize > 16384 || attr->elementSize % 16 || attr->depth == 0 || attr->depth > 4294967292 ||
|
||||||
attr->maxPushWaiters > 32768 || attr->maxPopWaiters > 32768)
|
attr->maxPushWaiters > 32768 || attr->maxPopWaiters > 32768)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue