diff options
author | Michaël Banaan Ananas <happppp@users.noreply.github.com> | 2012-10-23 01:05:03 +0000 |
---|---|---|
committer | Michaël Banaan Ananas <happppp@users.noreply.github.com> | 2012-10-23 01:05:03 +0000 |
commit | 792c2a4bed686820905ee82477ba8fced0339b26 (patch) | |
tree | 08aee5ea85791fc91f71c0562944746b81198d31 /src/mame/includes/suna16.h | |
parent | 48f130435bbff5ca3661201746bb7d60bd77c5a8 (diff) |
suna16.c: Emulate protection routines rather than patching them
for uballoon [IQ_132 & JackC]
Diffstat (limited to 'src/mame/includes/suna16.h')
-rw-r--r-- | src/mame/includes/suna16.h | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/src/mame/includes/suna16.h b/src/mame/includes/suna16.h index 3058cbdea9d..24b3f9e8ac8 100644 --- a/src/mame/includes/suna16.h +++ b/src/mame/includes/suna16.h @@ -5,22 +5,25 @@ public: : driver_device(mconfig, type, tag), m_maincpu(*this,"maincpu"), m_spriteram(*this, "spriteram"), - m_spriteram2(*this, "spriteram2"){ } + m_spriteram2(*this, "spriteram2") + { } required_device<cpu_device> m_maincpu; required_shared_ptr<UINT16> m_spriteram; optional_shared_ptr<UINT16> m_spriteram2; - UINT16 m_prot; + UINT8 m_prot; UINT16 *m_paletteram; int m_color_bank; DECLARE_WRITE16_MEMBER(suna16_soundlatch_w); DECLARE_WRITE16_MEMBER(bssoccer_leds_w); DECLARE_WRITE16_MEMBER(uballoon_leds_w); + DECLARE_READ8_MEMBER(uballoon_prot_r); + DECLARE_WRITE8_MEMBER(uballoon_prot_w); DECLARE_WRITE16_MEMBER(bestbest_coin_w); - DECLARE_READ16_MEMBER(bestbest_prot_r); - DECLARE_WRITE16_MEMBER(bestbest_prot_w); + DECLARE_READ8_MEMBER(bestbest_prot_r); + DECLARE_WRITE8_MEMBER(bestbest_prot_w); DECLARE_WRITE8_MEMBER(bssoccer_pcm_1_bankswitch_w); DECLARE_WRITE8_MEMBER(bssoccer_pcm_2_bankswitch_w); DECLARE_WRITE8_MEMBER(uballoon_pcm_1_bankswitch_w); |