mirror of
https://github.com/holub/mame
synced 2025-04-26 02:07:14 +03:00
fix catchp crash
This commit is contained in:
parent
9ff7e4c888
commit
332d04f2e6
@ -11,15 +11,16 @@ class avalnche_state : public driver_device
|
|||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
avalnche_state(const machine_config &mconfig, device_type type, const char *tag)
|
avalnche_state(const machine_config &mconfig, device_type type, const char *tag)
|
||||||
: driver_device(mconfig, type, tag) ,
|
: driver_device(mconfig, type, tag),
|
||||||
m_videoram(*this, "videoram"),
|
m_videoram(*this, "videoram"),
|
||||||
m_discrete(*this, "discrete") { }
|
m_discrete(*this, "discrete")
|
||||||
|
{ }
|
||||||
|
|
||||||
/* video-related */
|
|
||||||
required_shared_ptr<UINT8> m_videoram;
|
required_shared_ptr<UINT8> m_videoram;
|
||||||
required_device<discrete_device> m_discrete;
|
optional_device<discrete_device> m_discrete;
|
||||||
|
|
||||||
|
UINT8 m_avalance_video_inverted;
|
||||||
|
|
||||||
UINT8 m_avalance_video_inverted;
|
|
||||||
DECLARE_WRITE8_MEMBER(avalance_video_invert_w);
|
DECLARE_WRITE8_MEMBER(avalance_video_invert_w);
|
||||||
DECLARE_WRITE8_MEMBER(catch_coin_counter_w);
|
DECLARE_WRITE8_MEMBER(catch_coin_counter_w);
|
||||||
DECLARE_WRITE8_MEMBER(avalance_credit_1_lamp_w);
|
DECLARE_WRITE8_MEMBER(avalance_credit_1_lamp_w);
|
||||||
@ -34,6 +35,8 @@ public:
|
|||||||
DECLARE_WRITE8_MEMBER(catch_audio_w);
|
DECLARE_WRITE8_MEMBER(catch_audio_w);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
/*----------- defined in audio/avalnche.c -----------*/
|
/*----------- defined in audio/avalnche.c -----------*/
|
||||||
|
|
||||||
DISCRETE_SOUND_EXTERN( avalnche );
|
DISCRETE_SOUND_EXTERN( avalnche );
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user