| 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 |
| r20905 | r20906 | |
|---|---|---|
| 20 | 20 | , m_maincpu(*this, "maincpu") |
| 21 | 21 | , m_cassette(*this, CASSETTE_TAG) |
| 22 | 22 | , m_ram(*this, RAM_TAG) |
| 23 | , m_region_gfx1(*this, "gfx1") | |
| 23 | 24 | { } |
| 24 | 25 | |
| 25 | 26 | int m_interrupts_enabled; |
| r20905 | r20906 | |
| 45 | 46 | required_device<cpu_device> m_maincpu; |
| 46 | 47 | required_device<cassette_image_device> m_cassette; |
| 47 | 48 | required_device<ram_device> m_ram; |
| 49 | required_memory_region m_region_gfx1; | |
| 48 | 50 | ioport_port *m_io_ports[8]; |
| 49 | 51 | }; |
| 50 | 52 |
| r20905 | r20906 | |
|---|---|---|
| 19 | 19 | int y, x; |
| 20 | 20 | if (m_interrupts_enabled == TRUE) |
| 21 | 21 | { |
| 22 | UINT8 *gfx = m | |
| 22 | UINT8 *gfx = m_region_gfx1->base(); | |
| 23 | 23 | UINT8 dat = (m_latch_value & 0x3c) >> 2; |
| 24 | 24 | if ((m_gal_cnt >= 48 * 2) && (m_gal_cnt < 48 * 210)) // display on screen just m_first 208 lines |
| 25 | 25 | { |
| Previous | 199869 Revisions | Next |