summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/astrcorp.cpp
diff options
context:
space:
mode:
author David Haywood <hazemamewip@hotmail.com>2018-07-02 01:08:47 +0100
committer ajrhacker <ajrhacker@users.noreply.github.com>2018-07-01 20:08:47 -0400
commit5fc872cfcc5a8fc97dfa21530e9d2da12d115064 (patch)
tree2bcf50349aee16964a43c9a17b22a3a203dc8a8e /src/mame/drivers/astrcorp.cpp
parent44bc4d6bc32cffe6c4bea8b5f148b7663b62c781 (diff)
private: use (W,X,Y,Z,#) (#3721)
* private: use (W,X,Y,Z,#) * A part 1 (nw)
Diffstat (limited to 'src/mame/drivers/astrcorp.cpp')
-rw-r--r--src/mame/drivers/astrcorp.cpp19
1 files changed, 11 insertions, 8 deletions
diff --git a/src/mame/drivers/astrcorp.cpp b/src/mame/drivers/astrcorp.cpp
index a735a95839a..81c6bd5bd36 100644
--- a/src/mame/drivers/astrcorp.cpp
+++ b/src/mame/drivers/astrcorp.cpp
@@ -64,6 +64,16 @@ public:
m_lamps(*this, "lamp%u", 0U)
{ }
+ void skilldrp(machine_config &config);
+ void showhand(machine_config &config);
+ void speeddrp(machine_config &config);
+ void showhanc(machine_config &config);
+
+ void init_astoneag();
+ void init_showhanc();
+ void init_showhand();
+
+private:
// devices
required_device<cpu_device> m_maincpu;
required_device<okim6295_device> m_oki;
@@ -88,23 +98,16 @@ public:
DECLARE_READ16_MEMBER(astrocorp_unk_r);
DECLARE_WRITE16_MEMBER(astrocorp_sound_bank_w);
DECLARE_WRITE16_MEMBER(skilldrp_sound_bank_w);
- void init_astoneag();
- void init_showhanc();
- void init_showhand();
DECLARE_VIDEO_START(astrocorp);
uint32_t screen_update_astrocorp(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect);
TIMER_DEVICE_CALLBACK_MEMBER(skilldrp_scanline);
void draw_sprites(bitmap_ind16 &bitmap, const rectangle &cliprect);
- void skilldrp(machine_config &config);
- void showhand(machine_config &config);
- void speeddrp(machine_config &config);
- void showhanc(machine_config &config);
+
void showhanc_map(address_map &map);
void showhand_map(address_map &map);
void skilldrp_map(address_map &map);
void speeddrp_map(address_map &map);
-protected:
virtual void machine_start() override;
output_finder<7> m_lamps;