Ejemplo n.º 1
0
        public MsgPipeId sceKernelCreateMsgPipe(string Name, HleMemoryManager.Partitions PartitionId, MsgPipeAttributes Attributes, int Size, void *Options)
        {
            if (Options != null)
            {
                throw(new NotImplementedException());
            }

            var MsgPipe = new MsgPipe()
            {
                Name        = Name,
                PartitionId = PartitionId,
                Size        = Size,
                Attributes  = Attributes,
            };

            MsgPipe.Init(HleState.ThreadManager, HleState.MemoryManager.Memory, HleState.MemoryManager);

            return(MessagePipeList.Create(MsgPipe));
        }
Ejemplo n.º 2
0
        public MsgPipe sceKernelCreateMsgPipe(string Name, MemoryPartitions PartitionId, MsgPipeAttributes Attributes,
                                              int Size, void *Options)
        {
            if (Options != null)
            {
                throw new NotImplementedException();
            }

            var MsgPipe = new MsgPipe()
            {
                Name        = Name,
                PartitionId = PartitionId,
                Size        = Size,
                Attributes  = Attributes,
            };

            MsgPipe.Init(ThreadManager, MemoryManager.Memory, MemoryManager);

            return(MsgPipe);
        }
Ejemplo n.º 3
0
        public MsgPipeId sceKernelCreateMsgPipe(string Name, HleMemoryManager.Partitions PartitionId, MsgPipeAttributes Attributes, int Size, void* Options)
        {
            if (Options != null) throw(new NotImplementedException());

            var MsgPipe = new MsgPipe()
            {
                Name = Name,
                PartitionId = PartitionId,
                Size = Size,
                Attributes = Attributes,
            };

            MsgPipe.Init(ThreadManager, MemoryManager.Memory, MemoryManager);

            return MessagePipeList.Create(MsgPipe);
        }