diff options
Diffstat (limited to 'src/mame/machine/kaneko_hit.h')
-rw-r--r-- | src/mame/machine/kaneko_hit.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/mame/machine/kaneko_hit.h b/src/mame/machine/kaneko_hit.h index 11e50332cb9..492521a9f31 100644 --- a/src/mame/machine/kaneko_hit.h +++ b/src/mame/machine/kaneko_hit.h @@ -21,8 +21,8 @@ public: void set_type(int hittype) { m_hittype = hittype; } - DECLARE_READ16_MEMBER(kaneko_hit_r); - DECLARE_WRITE16_MEMBER(kaneko_hit_w); + uint16_t kaneko_hit_r(offs_t offset); + void kaneko_hit_w(offs_t offset, uint16_t data, uint16_t mem_mask = ~0); protected: virtual void device_start() override; @@ -66,16 +66,16 @@ private: calc1_hit_t m_hit; calc3_hit_t m_hit3; - DECLARE_READ16_MEMBER(kaneko_hit_type0_r); - DECLARE_WRITE16_MEMBER(kaneko_hit_type0_w); + uint16_t kaneko_hit_type0_r(offs_t offset); + void kaneko_hit_type0_w(offs_t offset, uint16_t data, uint16_t mem_mask = ~0); - DECLARE_READ16_MEMBER(kaneko_hit_type1_r); - DECLARE_WRITE16_MEMBER(kaneko_hit_type1_w); + uint16_t kaneko_hit_type1_r(offs_t offset); + void kaneko_hit_type1_w(offs_t offset, uint16_t data, uint16_t mem_mask = ~0); int16_t calc_compute_x(calc1_hit_t &hit); int16_t calc_compute_y(calc1_hit_t &hit); - DECLARE_WRITE16_MEMBER(kaneko_hit_type2_w); - DECLARE_READ16_MEMBER(kaneko_hit_type2_r); + void kaneko_hit_type2_w(offs_t offset, uint16_t data, uint16_t mem_mask = ~0); + uint16_t kaneko_hit_type2_r(offs_t offset); int type2_calc_compute(int x1, int w1, int x2, int w2); void type2_calc_org(int mode, int x0, int s0, int* x1, int* s1); void type2_recalc_collisions(calc3_hit_t &hit3); |