コード例 #1
0
ファイル: AMemory.cs プロジェクト: dengniSLM/Ryujinx
        public AMemory(IntPtr Ram, AMemoryAlloc Allocator)
        {
            Manager = new AMemoryMgr(Allocator);

            Monitors = new Dictionary <int, ExMonitor>();

            ExAddrs = new HashSet <long>();

            RamPtr = (byte *)Ram;
        }
コード例 #2
0
ファイル: AMemoryMgr.cs プロジェクト: SakataGintokiYT/Ryujinx
        public AMemoryMgr(AMemoryAlloc Allocator)
        {
            this.Allocator = Allocator;

            PageTable = new PTEntry[PTLvl0Size][];
        }