diff options
| author | 2014-05-06 06:09:11 +0000 | |
|---|---|---|
| committer | 2014-05-06 06:09:11 +0000 | |
| commit | 04090feede7dfd9458b02aa03d50dc9ab8519c7e (patch) | |
| tree | 0b095035ec6527b8f24642ac8b3a99ebe178ae90 | |
| parent | 4885348d998a29f94400a05c5720e3d6fbe9102a (diff) | |
blockhl.c, chqflag.c: fix generic_paletteram regression (nw)
| -rw-r--r-- | src/mame/includes/blockhl.h | 4 | ||||
| -rw-r--r-- | src/mame/includes/chqflag.h | 4 | ||||
| -rw-r--r-- | src/mame/video/blockhl.c | 2 | ||||
| -rw-r--r-- | src/mame/video/chqflag.c | 2 |
4 files changed, 2 insertions, 10 deletions
diff --git a/src/mame/includes/blockhl.h b/src/mame/includes/blockhl.h index 5421d85d17c..9d7d0f0fe2e 100644 --- a/src/mame/includes/blockhl.h +++ b/src/mame/includes/blockhl.h @@ -18,8 +18,7 @@ public: m_audiocpu(*this, "audiocpu"), m_k052109(*this, "k052109"), m_k051960(*this, "k051960"), - m_palette(*this, "palette"), - m_generic_paletteram_8(*this, "paletteram") { } + m_palette(*this, "palette") { } /* memory pointers */ required_shared_ptr<UINT8> m_ram; @@ -39,7 +38,6 @@ public: required_device<k052109_device> m_k052109; required_device<k051960_device> m_k051960; required_device<palette_device> m_palette; - required_shared_ptr<UINT8> m_generic_paletteram_8; DECLARE_READ8_MEMBER(bankedram_r); DECLARE_WRITE8_MEMBER(bankedram_w); DECLARE_WRITE8_MEMBER(blockhl_sh_irqtrigger_w); diff --git a/src/mame/includes/chqflag.h b/src/mame/includes/chqflag.h index c3d6a73e710..b778daeb001 100644 --- a/src/mame/includes/chqflag.h +++ b/src/mame/includes/chqflag.h @@ -21,8 +21,7 @@ public: m_k051960(*this, "k051960"), m_k051316_1(*this, "k051316_1"), m_k051316_2(*this, "k051316_2"), - m_palette(*this, "palette"), - m_generic_paletteram_8(*this, "paletteram") { } + m_palette(*this, "palette") { } /* memory pointers */ UINT8 * m_ram; @@ -48,7 +47,6 @@ public: required_device<k051316_device> m_k051316_1; required_device<k051316_device> m_k051316_2; required_device<palette_device> m_palette; - required_shared_ptr<UINT8> m_generic_paletteram_8; DECLARE_WRITE8_MEMBER(chqflag_bankswitch_w); DECLARE_WRITE8_MEMBER(chqflag_vreg_w); diff --git a/src/mame/video/blockhl.c b/src/mame/video/blockhl.c index cefde4130be..750cdd99bfc 100644 --- a/src/mame/video/blockhl.c +++ b/src/mame/video/blockhl.c @@ -43,8 +43,6 @@ void blockhl_sprite_callback( running_machine &machine, int *code, int *color, i void blockhl_state::video_start() { - m_generic_paletteram_8.allocate(0x800); - m_layer_colorbase[0] = 0; m_layer_colorbase[1] = 16; m_layer_colorbase[2] = 32; diff --git a/src/mame/video/chqflag.c b/src/mame/video/chqflag.c index f0ec0544959..26df39ce3b1 100644 --- a/src/mame/video/chqflag.c +++ b/src/mame/video/chqflag.c @@ -53,8 +53,6 @@ void chqflag_zoom_callback_1( running_machine &machine, int *code, int *color, i void chqflag_state::video_start() { - m_generic_paletteram_8.allocate(0x800); - m_sprite_colorbase = 0; m_zoom_colorbase[0] = 0x10; m_zoom_colorbase[1] = 0x02; |
