コード例 #1
0
        public MemoryDomainProxy(MemoryDomain _md)
        {
            md   = _md;
            Size = md.Size;

            name = md.ToString();

            if (Global.Emulator is N64 && !(Global.Emulator as N64).UsingExpansionSlot && name == "RDRAM")
            {
                Size = Size / 2;
            }

            WordSize  = md.WordSize;
            name      = md.ToString();
            BigEndian = _md.EndianType == MemoryDomain.Endian.Big;
        }
コード例 #2
0
 public void Reattach()
 {
     md        = RTC_MemoryDomains.MDRI.MemoryDomains.FirstOrDefault(it => it.ToString() == name);
     Size      = md.Size;
     WordSize  = md.WordSize;
     name      = md.ToString();
     BigEndian = md.EndianType == MemoryDomain.Endian.Big;
 }