diff options
author | Olivier Galibert <galibert@pobox.com> | 2020-11-27 12:27:28 +0100 |
---|---|---|
committer | Olivier Galibert <galibert@pobox.com> | 2020-11-27 12:27:28 +0100 |
commit | fd6607223a984c33c5b671b0a01c76dc878a039e (patch) | |
tree | 7370a2529d45cb465552d5c1c3e6b6f2bbc712de | |
parent | 805af5e163d3ed3953be942ab8912792155a9f6d (diff) |
Fix rallybik, has a different spriteram size
-rw-r--r-- | src/mame/includes/toaplan1.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mame/includes/toaplan1.h b/src/mame/includes/toaplan1.h index e9de096da16..3dfc4c496ce 100644 --- a/src/mame/includes/toaplan1.h +++ b/src/mame/includes/toaplan1.h @@ -20,14 +20,14 @@ class toaplan1_state : public driver_device { public: - toaplan1_state(const machine_config &mconfig, device_type type, const char *tag) : + toaplan1_state(const machine_config &mconfig, device_type type, const char *tag, bool large = false) : driver_device(mconfig, type, tag), m_bgpaletteram(*this, "bgpalette"), m_fgpaletteram(*this, "fgpalette"), m_sharedram(*this, "sharedram"), m_dswb_io(*this, "DSWB"), m_tjump_io(*this, "TJUMP"), - m_spriteram(*this, "spriteram", 0x800, ENDIANNESS_BIG), + m_spriteram(*this, "spriteram", large ? 0x1000 : 0x800, ENDIANNESS_BIG), m_maincpu(*this, "maincpu"), m_audiocpu(*this, "audiocpu"), m_ymsnd(*this, "ymsnd"), @@ -162,7 +162,7 @@ class toaplan1_rallybik_state : public toaplan1_state { public: toaplan1_rallybik_state(const machine_config &mconfig, device_type type, const char *tag) : - toaplan1_state(mconfig, type, tag), + toaplan1_state(mconfig, type, tag, true), m_spritegen(*this, "scu") { } |