mirror of
https://github.com/holub/mame
synced 2025-06-05 20:33:45 +03:00
Fix rallybik, has a different spriteram size
This commit is contained in:
parent
805af5e163
commit
fd6607223a
@ -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")
|
||||
{
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user