Previous 199869 Revisions Next

r20906 Sunday 10th February, 2013 at 19:22:42 UTC by Wilbert Pol
(MESS) galaxy.c: Reduce tagmap lookups (nw)
[src/mess/includes]galaxy.h
[src/mess/video]galaxy.c

trunk/src/mess/includes/galaxy.h
r20905r20906
2020      , m_maincpu(*this, "maincpu")
2121      , m_cassette(*this, CASSETTE_TAG)
2222      , m_ram(*this, RAM_TAG)
23      , m_region_gfx1(*this, "gfx1")
2324   { }
2425
2526   int m_interrupts_enabled;
r20905r20906
4546   required_device<cpu_device> m_maincpu;
4647   required_device<cassette_image_device> m_cassette;
4748   required_device<ram_device> m_ram;
49   required_memory_region m_region_gfx1;
4850   ioport_port *m_io_ports[8];
4951};
5052
trunk/src/mess/video/galaxy.c
r20905r20906
1919   int y, x;
2020   if (m_interrupts_enabled == TRUE)
2121   {
22      UINT8 *gfx = memregion("gfx1")->base();
22      UINT8 *gfx = m_region_gfx1->base();
2323      UINT8 dat = (m_latch_value & 0x3c) >> 2;
2424      if ((m_gal_cnt >= 48 * 2) && (m_gal_cnt < 48 * 210))  // display on screen just m_first 208 lines
2525      {

Previous 199869 Revisions Next


© 1997-2024 The MAME Team