diff options
author | Wilbert Pol <wilbertpol@users.noreply.github.com> | 2015-08-13 09:59:55 +0200 |
---|---|---|
committer | Wilbert Pol <wilbertpol@users.noreply.github.com> | 2015-08-13 10:01:35 +0200 |
commit | 70fe93c86627c98cee6cc50add4b4a33f19a2f03 (patch) | |
tree | 0c407dfe25c1232bc7fbe5203a33ccb10d86b578 /src/mame/includes/amiga.h | |
parent | b31469df44fbe54f5d29c46be92269f1323e85b2 (diff) |
amiga.c: reduce tagmap lookups, reduce read_safe usage, minor cleanups (nw)
Diffstat (limited to 'src/mame/includes/amiga.h')
-rw-r--r-- | src/mame/includes/amiga.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/mame/includes/amiga.h b/src/mame/includes/amiga.h index 2858f47ce27..efefd00c58d 100644 --- a/src/mame/includes/amiga.h +++ b/src/mame/includes/amiga.h @@ -352,6 +352,7 @@ public: m_p1_mouse_y(*this, "p1_mouse_y"), m_p2_mouse_x(*this, "p2_mouse_x"), m_p2_mouse_y(*this, "p2_mouse_y"), + m_hvpos(*this, "HVPOS"), m_chip_ram_mask(0), m_cia_0_irq(0), m_cia_1_irq(0), @@ -580,6 +581,7 @@ protected: optional_ioport m_p1_mouse_y; optional_ioport m_p2_mouse_x; optional_ioport m_p2_mouse_y; + optional_ioport m_hvpos; memory_array m_chip_ram; UINT32 m_chip_ram_mask; @@ -660,6 +662,8 @@ private: void serial_adjust(); void serial_shift(); void rx_write(amiga_state *state, int level); + + UINT32 amiga_gethvpos(); }; @@ -675,7 +679,6 @@ extern const UINT16 amiga_expand_byte[256]; void amiga_copper_setpc(running_machine &machine, UINT32 pc); int amiga_copper_execute_next(running_machine &machine, int xpos); -UINT32 amiga_gethvpos(screen_device &screen); void amiga_set_genlock_color(running_machine &machine, UINT16 color); void amiga_sprite_dma_reset(running_machine &machine, int which); void amiga_sprite_enable_comparitor(running_machine &machine, int which, int enable); |