mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-13 17:49:29 +01:00
More memory cleanup
This commit is contained in:
1 parent
cd052ea640
commit
3bd41376da
43 files changed
+574
-527
No files matched your search
@@ -708,11 +708,12 @@ int sceKernelCreateMsgPipe(const char *name, int partition, u32 attr, u32 size,
|
||||
|
||||
DEBUG_LOG(Log::sceKernel, "%d=sceKernelCreateMsgPipe(%s, part=%d, attr=%08x, size=%d, opt=%08x)", id, name, partition, attr, size, optionsPtr);
|
||||
|
||||
if (optionsPtr != 0)
|
||||
{
|
||||
u32 optionsSize = Memory::Read_U32(optionsPtr);
|
||||
if (optionsSize > 4)
|
||||
WARN_LOG_REPORT(Log::sceKernel, "sceKernelCreateMsgPipe(%s) unsupported options parameter, size = %d", name, optionsSize);
|
||||
if (optionsPtr != 0) {
|
||||
if (Memory::IsValid4AlignedAddress(optionsPtr)) {
|
||||
u32 optionsSize = Memory::ReadUnchecked_U32(optionsPtr);
|
||||
if (optionsSize > 4)
|
||||
WARN_LOG_REPORT(Log::sceKernel, "sceKernelCreateMsgPipe(%s) unsupported options parameter, size = %d", name, optionsSize);
|
||||
}
|
||||
}
|
||||
|
||||
return hleNoLog(id);
|
||||
|
||||
Reference in new issue
Block a user