summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/includes
diff options
context:
space:
mode:
author AJR <ajrhacker@users.noreply.github.com>2018-05-26 13:19:07 -0400
committer AJR <ajrhacker@users.noreply.github.com>2018-05-26 13:20:21 -0400
commitceac5a4a7167ac42da41643a9a1dee4bc3bfa1e7 (patch)
tree516c9378514e821e44eb6774af04afde0b196401 /src/mame/includes
parent4ed4943c40a6ccafbe7de9d256f9413ae6cab6d9 (diff)
exidy440.cpp, vertigo.cpp: Improve encapsulation for audio device
Diffstat (limited to 'src/mame/includes')
-rw-r--r--src/mame/includes/exidy440.h5
-rw-r--r--src/mame/includes/vertigo.h4
2 files changed, 3 insertions, 6 deletions
diff --git a/src/mame/includes/exidy440.h b/src/mame/includes/exidy440.h
index 37adcb4b7ca..168a6a59ce3 100644
--- a/src/mame/includes/exidy440.h
+++ b/src/mame/includes/exidy440.h
@@ -25,7 +25,7 @@ public:
m_spriteram(*this, "spriteram"),
m_scanline(*this, "scanline"),
m_maincpu(*this, "maincpu"),
- m_custom(*this, "custom"),
+ m_custom(*this, "440audio"),
m_screen(*this, "screen"),
m_palette(*this, "palette")
{ }
@@ -61,7 +61,7 @@ protected:
void draw_sprites(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect, int scroll_offset, int check_collision);
void update_screen(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect, int scroll_offset, int check_collision);
uint32_t screen_update_exidy440(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect);
- INTERRUPT_GEN_MEMBER(exidy440_vblank_interrupt);
+ DECLARE_WRITE_LINE_MEMBER(vblank_interrupt_w);
TIMER_CALLBACK_MEMBER(delayed_sound_command_w);
TIMER_CALLBACK_MEMBER(beam_firq_callback);
TIMER_CALLBACK_MEMBER(collide_firq_callback);
@@ -73,7 +73,6 @@ protected:
virtual void video_start() override;
void exidy440_video(machine_config &config);
void exidy440_map(address_map &map);
- void exidy440_audio_map(address_map &map);
required_shared_ptr<uint8_t> m_imageram;
required_shared_ptr<uint8_t> m_spriteram;
diff --git a/src/mame/includes/vertigo.h b/src/mame/includes/vertigo.h
index d9e60ba8065..f515234bb5f 100644
--- a/src/mame/includes/vertigo.h
+++ b/src/mame/includes/vertigo.h
@@ -30,8 +30,7 @@ public:
vertigo_state(const machine_config &mconfig, device_type type, const char *tag) :
driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
- m_audiocpu(*this, "audiocpu"),
- m_custom(*this, "custom"),
+ m_custom(*this, "440audio"),
m_ttl74148(*this, "74148"),
m_vector(*this, "vector"),
m_adc(*this, "adc"),
@@ -132,7 +131,6 @@ private:
void update_irq_encoder(int line, int state);
required_device<cpu_device> m_maincpu;
- required_device<cpu_device> m_audiocpu;
required_device<exidy440_sound_device> m_custom;
required_device<ttl74148_device> m_ttl74148;
required_device<vector_device> m_vector;