Exemple #1
0
        //memory_array &extmem() { return m_paletteram_ext; }


        // raw entry reading
        public u32 read_entry(pen_t pen)
        {
            u32 data = m_paletteram.read((int)pen);

            if (m_paletteram_ext.base_() != null)
            {
                data |= m_paletteram_ext.read((int)pen) << (8 * m_paletteram.bytes_per_entry());
            }
            return(data);
        }
Exemple #2
0
 public void set(memory_array array)
 {
     set(array.baseptr(), array.bytes(), array.membits(), array.endianness(), array.bytes_per_entry());
 }