Ypsilon.Emulation.Processor.YBUS.SetROM C# (CSharp) Method

SetROM() public method

public SetROM ( uint romSize ) : void
romSize uint
return void
        public void SetROM(uint romSize)
        {
            m_ROM = new MemoryChunk(romSize);
            m_ROM.ReadOnly = true;
            foreach (Segment segment in m_References) {
                if ((segment.Reference & MemoryReferenceInfo.ReferenceType) == MemoryReferenceInfo.ROM) {
                    GetROMReference(segment);
                }
            }
        }