CSPspEmu.Hle.Modules.threadman.ThreadManForUser.VariablePool.Init C# (CSharp) Метод

Init() публичный Метод

public Init ( ) : void
Результат void
            public void Init()
            {
                var High = Info.Attribute.HasFlag(VplAttributeEnum.PSP_VPL_ATTR_ADDR_HIGH);

                #if true
                ExternalMemoryAnchor = High ? Hle.MemoryPartition.Anchor.High : Hle.MemoryPartition.Anchor.Low;
                //InternalMemoryAnchor = Hle.MemoryPartition.Anchor.High;
                InternalMemoryAnchor = Hle.MemoryPartition.Anchor.Low;
                InternalMemoryAnchorReturn = Hle.MemoryPartition.Anchor.Low;
                #else
                InternalMemoryAnchor = High ? Hle.MemoryPartition.Anchor.High : Hle.MemoryPartition.Anchor.Low;
                ExternalMemoryAnchor = Hle.MemoryPartition.Anchor.Low;
                #endif

                this.MemoryPartition = ThreadManForUser.MemoryManager.GetPartition(PartitionId).Allocate(
                    Info.PoolSize,
                    ExternalMemoryAnchor,
                    Name: "<Vpl> : " + Info.Name
                );
            }