diff options
author | David Haywood <hazemamewip@hotmail.com> | 2018-06-27 22:39:14 +0100 |
---|---|---|
committer | ajrhacker <ajrhacker@users.noreply.github.com> | 2018-06-27 17:39:14 -0400 |
commit | d9bc46556f0ad968268fa0af83b7f24b59f9b3e2 (patch) | |
tree | d5c8f90c215ba4ef40ae1cb2af0e18104523d7a1 /src/mame/drivers/igspoker.cpp | |
parent | 4ad9b22ed89562e8a4df7afd51ca19c1fde0f18f (diff) |
move more stuff behind private: (Part H, I, J) (nw) (#3707)
* move more stuff behind private: (Part H) (nw)
* I & J (nw)
Diffstat (limited to 'src/mame/drivers/igspoker.cpp')
-rw-r--r-- | src/mame/drivers/igspoker.cpp | 45 |
1 files changed, 25 insertions, 20 deletions
diff --git a/src/mame/drivers/igspoker.cpp b/src/mame/drivers/igspoker.cpp index cb09e334fcf..e213001a994 100644 --- a/src/mame/drivers/igspoker.cpp +++ b/src/mame/drivers/igspoker.cpp @@ -96,18 +96,14 @@ public: , m_lamps(*this, "lamp%u", 1U) { } - DECLARE_READ8_MEMBER(igs_irqack_r); - DECLARE_WRITE8_MEMBER(igs_irqack_w); - DECLARE_WRITE8_MEMBER(bg_tile_w); - DECLARE_WRITE8_MEMBER(fg_tile_w); - DECLARE_WRITE8_MEMBER(fg_color_w); - DECLARE_WRITE8_MEMBER(igs_nmi_and_coins_w); - DECLARE_WRITE8_MEMBER(igs_lamps_w); - DECLARE_READ8_MEMBER(custom_io_r); - DECLARE_WRITE8_MEMBER(custom_io_w); - DECLARE_READ8_MEMBER(exp_rom_r); - void show_out(); - DECLARE_CUSTOM_INPUT_MEMBER(hopper_r); + void csk234it(machine_config &config); + void igs_ncs(machine_config &config); + void csk227it(machine_config &config); + void igspoker(machine_config &config); + void pktetris(machine_config &config); + void cpokerpk(machine_config &config); + void number10(machine_config &config); + void init_igs_ncs(); void init_number10(); void init_pktet346(); @@ -119,25 +115,34 @@ public: void init_igs_ncs2(); void init_cpokerpk(); void init_kungfu(); + + DECLARE_CUSTOM_INPUT_MEMBER(hopper_r); + +private: + DECLARE_READ8_MEMBER(igs_irqack_r); + DECLARE_WRITE8_MEMBER(igs_irqack_w); + DECLARE_WRITE8_MEMBER(bg_tile_w); + DECLARE_WRITE8_MEMBER(fg_tile_w); + DECLARE_WRITE8_MEMBER(fg_color_w); + DECLARE_WRITE8_MEMBER(igs_nmi_and_coins_w); + DECLARE_WRITE8_MEMBER(igs_lamps_w); + DECLARE_READ8_MEMBER(custom_io_r); + DECLARE_WRITE8_MEMBER(custom_io_w); + DECLARE_READ8_MEMBER(exp_rom_r); + void show_out(); + TILE_GET_INFO_MEMBER(get_bg_tile_info); TILE_GET_INFO_MEMBER(get_fg_tile_info); DECLARE_VIDEO_START(cpokerpk); uint32_t screen_update_igs_video(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect); uint32_t screen_update_cpokerpk(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect); TIMER_DEVICE_CALLBACK_MEMBER(igs_interrupt); - void csk234it(machine_config &config); - void igs_ncs(machine_config &config); - void csk227it(machine_config &config); - void igspoker(machine_config &config); - void pktetris(machine_config &config); - void cpokerpk(machine_config &config); - void number10(machine_config &config); + void cpokerpk_io_map(address_map &map); void igspoker_io_map(address_map &map); void igspoker_prg_map(address_map &map); void number10_io_map(address_map &map); -protected: virtual void machine_start() override { m_led.resolve(); m_lamps.resolve(); } virtual void machine_reset() override; virtual void video_start() override; |