Previous 199869 Revisions Next

r20889 Sunday 10th February, 2013 at 11:19:55 UTC by Wilbert Pol
hd61830.c: Reduce tagmap lookups (nw)
[src/emu/video]hd61830.c hd61830.h

trunk/src/emu/video/hd61830.c
r20888r20889
110110      device_memory_interface(mconfig, *this),
111111      m_bf(false),
112112      m_blink(0),
113      m_space_config("videoram", ENDIANNESS_LITTLE, 8, 16, 0, NULL, *ADDRESS_MAP_NAME(hd61830))
113      m_space_config("videoram", ENDIANNESS_LITTLE, 8, 16, 0, NULL, *ADDRESS_MAP_NAME(hd61830)),
114      m_region_hd61830(*this, "hd61830")
114115{
115116   m_shortname = "hd61830";
116117}
r20888r20889
478479               addr = 160*7 + (md - 0xe0) * 11 + cl;
479480            }
480481
481            data = memregion("hd61830")->u8(addr);
482            data = m_region_hd61830->u8(addr);
482483         }
483484
484485         int cursor = m_mcr & MODE_CURSOR;
trunk/src/emu/video/hd61830.h
r20888r20889
118118
119119   // address space configurations
120120   const address_space_config      m_space_config;
121
122   required_memory_region m_region_hd61830;
121123};
122124
123125

Previous 199869 Revisions Next


© 1997-2024 The MAME Team