diff options
Diffstat (limited to 'src/mame/drivers')
-rw-r--r-- | src/mame/drivers/alg.cpp | 2 | ||||
-rw-r--r-- | src/mame/drivers/deco_ld.cpp | 71 | ||||
-rw-r--r-- | src/mame/drivers/dlair.cpp | 9 | ||||
-rw-r--r-- | src/mame/drivers/esh.cpp | 6 | ||||
-rw-r--r-- | src/mame/drivers/firefox.cpp | 26 | ||||
-rw-r--r-- | src/mame/drivers/gottlieb.cpp | 2 | ||||
-rw-r--r-- | src/mame/drivers/gpworld.cpp | 1 | ||||
-rw-r--r-- | src/mame/drivers/istellar.cpp | 14 | ||||
-rw-r--r-- | src/mame/drivers/konblands.cpp | 12 | ||||
-rw-r--r-- | src/mame/drivers/lgp.cpp | 13 | ||||
-rw-r--r-- | src/mame/drivers/segald.cpp | 25 | ||||
-rw-r--r-- | src/mame/drivers/superdq.cpp | 1 |
12 files changed, 76 insertions, 106 deletions
diff --git a/src/mame/drivers/alg.cpp b/src/mame/drivers/alg.cpp index e341d5dc1af..2cb251611c7 100644 --- a/src/mame/drivers/alg.cpp +++ b/src/mame/drivers/alg.cpp @@ -322,8 +322,6 @@ void alg_state::alg_r1(machine_config &config) m_laserdisc->set_screen("screen"); m_laserdisc->set_overlay(512*2, 262, FUNC(amiga_state::screen_update_amiga)); m_laserdisc->set_overlay_clip((129-8)*2, (449+8-1)*2, 44-8, 244+8-1); - m_laserdisc->set_overlay_palette(m_palette); - PALETTE(config, m_palette, FUNC(alg_state::amiga_palette), 4097); diff --git a/src/mame/drivers/deco_ld.cpp b/src/mame/drivers/deco_ld.cpp index 04f2dced8be..553b43ece79 100644 --- a/src/mame/drivers/deco_ld.cpp +++ b/src/mame/drivers/deco_ld.cpp @@ -163,17 +163,16 @@ private: DECLARE_READ8_MEMBER(sound_status_r); DECLARE_WRITE8_MEMBER(decold_sound_cmd_w); virtual void machine_start() override; - uint32_t screen_update_rblaster(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect); + uint32_t screen_update_rblaster(screen_device &screen, bitmap_rgb32 &bitmap, const rectangle &cliprect); INTERRUPT_GEN_MEMBER(sound_interrupt); - void draw_sprites(bitmap_ind16 &bitmap, const rectangle &cliprect, uint8_t *spriteram, uint16_t tile_bank ); + void draw_sprites(bitmap_rgb32 &bitmap, const rectangle &cliprect, uint8_t *spriteram, uint16_t tile_bank ); void rblaster_map(address_map &map); void rblaster_sound_map(address_map &map); }; -void deco_ld_state::draw_sprites(bitmap_ind16 &bitmap, const rectangle &cliprect, uint8_t *spriteram, uint16_t tile_bank ) +void deco_ld_state::draw_sprites(bitmap_rgb32 &bitmap, const rectangle &cliprect, uint8_t *spriteram, uint16_t tile_bank ) { gfx_element *gfx = m_gfxdecode->gfx(1); - int i,spr_offs,x,y,col,fx,fy; /* [+0] ---- -x-- flip X @@ -184,68 +183,67 @@ void deco_ld_state::draw_sprites(bitmap_ind16 &bitmap, const rectangle &cliprect [+3] x coord */ - for(i=0;i<0x20;i+=4) + for (int i = 0; i < 0x20; i += 4) { - if(~spriteram[i+0] & 1) + if (~spriteram[i] & 1) continue; - spr_offs = spriteram[i+1]|tile_bank; - x = spriteram[i+3]; - y = spriteram[i+2]; - col = 6; /* TODO */ - fx = (spriteram[i+0] & 0x04) ? 1 : 0; - fy = (spriteram[i+0] & 0x02) ? 1 : 0; + int spr_offs = spriteram[i + 1] | tile_bank; + int x = spriteram[i + 3]; + int y = spriteram[i + 2]; + int col = 6; /* TODO */ + int fx = (spriteram[i] & 0x04) ? 1 : 0; + int fy = (spriteram[i] & 0x02) ? 1 : 0; - gfx->transpen(bitmap,cliprect,spr_offs,col,fx,fy,x,y,0); + gfx->transpen(bitmap, cliprect, spr_offs, col, fx, fy, x, y, 0); } - for(i=0x3e0;i<0x400;i+=4) + for (int i = 0x3e0; i < 0x400; i += 4) { - if(~spriteram[i+0] & 1) + if (~spriteram[i] & 1) continue; - spr_offs = spriteram[i+1]|tile_bank; - x = spriteram[i+3]; - y = spriteram[i+2]; - col = 6; /* TODO */ - fx = (spriteram[i+0] & 0x04) ? 1 : 0; - fy = (spriteram[i+0] & 0x02) ? 1 : 0; + int spr_offs = spriteram[i + 1] | tile_bank; + int x = spriteram[i + 3]; + int y = spriteram[i + 2]; + int col = 6; /* TODO */ + int fx = (spriteram[i] & 0x04) ? 1 : 0; + int fy = (spriteram[i] & 0x02) ? 1 : 0; - gfx->transpen(bitmap,cliprect,spr_offs,col,fx,fy,x,y,0); + gfx->transpen(bitmap, cliprect, spr_offs, col, fx, fy, x, y, 0); } } -uint32_t deco_ld_state::screen_update_rblaster(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect) +uint32_t deco_ld_state::screen_update_rblaster(screen_device &screen, bitmap_rgb32 &bitmap, const rectangle &cliprect) { gfx_element *gfx = m_gfxdecode->gfx(0); - int y,x; bitmap.fill(0, cliprect); - draw_sprites(bitmap,cliprect,m_vram1,0x000); - draw_sprites(bitmap,cliprect,m_vram0,0x100); + draw_sprites(bitmap, cliprect, m_vram1, 0x000); + draw_sprites(bitmap, cliprect, m_vram0, 0x100); - for (y=0;y<32;y++) + for (int y = 0; y < 32; y++) { - for (x=0;x<32;x++) + for (int x = 0; x < 32; x++) { - int attr = m_attr0[x+y*32]; - int tile = m_vram0[x+y*32] | ((attr & 3) << 8); + int attr = m_attr0[x + y * 32]; + int tile = m_vram0[x + y * 32] | ((attr & 3) << 8); int colour = (6 & 0x7); /* TODO */ - gfx->transpen(bitmap,cliprect,tile|0x400,colour,0,0,x*8,y*8,0); + gfx->transpen(bitmap, cliprect, tile | 0x400, colour, 0, 0, x * 8, y * 8, 0); } } - for (y=0;y<32;y++) + for (int y = 0; y < 32; y++) { - for (x=0;x<32;x++) + for (int x = 0; x < 32; x++) { - int attr = m_attr1[x+y*32]; - int tile = m_vram1[x+y*32] | ((attr & 3) << 8); + int attr = m_attr1[x + y * 32]; + int tile = m_vram1[x + y * 32] | ((attr & 3) << 8); int colour = (6 & 0x7); /* TODO */ - gfx->transpen(bitmap,cliprect,tile,colour,0,0,x*8,y*8,0); + gfx->transpen(bitmap, cliprect, tile, colour, 0, 0, x * 8, y * 8, 0); } } @@ -478,7 +476,6 @@ void deco_ld_state::rblaster(machine_config &config) SONY_LDP1000(config, m_laserdisc, 0); m_laserdisc->set_overlay(256, 256, FUNC(deco_ld_state::screen_update_rblaster)); //m_laserdisc->set_overlay_clip(0, 256-1, 8, 240-1); - m_laserdisc->set_overlay_palette(m_palette); m_laserdisc->add_route(0, "lspeaker", 1.0); m_laserdisc->add_route(1, "rspeaker", 1.0); diff --git a/src/mame/drivers/dlair.cpp b/src/mame/drivers/dlair.cpp index c14042dd9ce..4c2ef3c9511 100644 --- a/src/mame/drivers/dlair.cpp +++ b/src/mame/drivers/dlair.cpp @@ -128,7 +128,7 @@ private: virtual void machine_start() override; virtual void machine_reset() override; void dleuro_palette(palette_device &palette) const; - uint32_t screen_update_dleuro(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect); + uint32_t screen_update_dleuro(screen_device &screen, bitmap_rgb32 &bitmap, const rectangle &cliprect); DECLARE_WRITE_LINE_MEMBER(write_speaker); void dleuro_io_map(address_map &map); @@ -220,16 +220,18 @@ void dlair_state::dleuro_palette(palette_device &palette) const * *************************************/ -uint32_t dlair_state::screen_update_dleuro(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect) +uint32_t dlair_state::screen_update_dleuro(screen_device &screen, bitmap_rgb32 &bitmap, const rectangle &cliprect) { // redraw the overlay for (int y = 0; y < 32; y++) + { for (int x = 0; x < 32; x++) { uint8_t const *const base = &m_videoram[y * 64 + x * 2 + 1]; // TODO: opaque? - m_gfxdecode->gfx(0)->opaque(bitmap,cliprect, base[0], base[1], 0, 0, 10 * x, 16 * y); + m_gfxdecode->gfx(0)->opaque(bitmap, cliprect, base[0], base[1], 0, 0, 10 * x, 16 * y); } + } return 0; } @@ -782,7 +784,6 @@ void dlair_state::dleuro(machine_config &config) PHILIPS_22VP932(config, m_22vp932, 0); m_22vp932->set_overlay(256, 256, FUNC(dlair_state::screen_update_dleuro)); - m_22vp932->set_overlay_palette(m_palette); m_22vp932->add_route(0, "lspeaker", 1.0); m_22vp932->add_route(1, "rspeaker", 1.0); diff --git a/src/mame/drivers/esh.cpp b/src/mame/drivers/esh.cpp index ad1335700c0..38a52dcf039 100644 --- a/src/mame/drivers/esh.cpp +++ b/src/mame/drivers/esh.cpp @@ -90,7 +90,6 @@ private: /* VIDEO GOODS */ uint32_t esh_state::screen_update_esh(screen_device &screen, bitmap_rgb32 &bitmap, const rectangle &cliprect) { - int charx, chary; const uint8_t pal_bank = m_ld_video_visible == true ? 0x10 : 0x00; const uint32_t trans_mask = m_ld_video_visible == true ? 0 : -1; gfx_element *gfx;// = m_gfxdecode->gfx(0); @@ -100,9 +99,9 @@ uint32_t esh_state::screen_update_esh(screen_device &screen, bitmap_rgb32 &bitma /* Draw tiles */ - for (charx = 0; charx < 32; charx++) + for (int charx = 0; charx < 32; charx++) { - for (chary = 0; chary < 32; chary++) + for (int chary = 0; chary < 32; chary++) { int current_screen_character = (chary*32) + charx; @@ -372,7 +371,6 @@ void esh_state::esh(machine_config &config) PIONEER_LDV1000(config, m_laserdisc, 0); m_laserdisc->command_strobe_callback().set(FUNC(esh_state::ld_command_strobe_cb)); m_laserdisc->set_overlay(256, 256, FUNC(esh_state::screen_update_esh)); - m_laserdisc->set_overlay_palette(m_palette); m_laserdisc->add_route(0, "lspeaker", 1.0); m_laserdisc->add_route(1, "rspeaker", 1.0); diff --git a/src/mame/drivers/firefox.cpp b/src/mame/drivers/firefox.cpp index 60f32448ccb..a2bd450efd6 100644 --- a/src/mame/drivers/firefox.cpp +++ b/src/mame/drivers/firefox.cpp @@ -257,35 +257,32 @@ void firefox_state::video_start() uint32_t firefox_state::screen_update_firefox(screen_device &screen, bitmap_rgb32 &bitmap, const rectangle &cliprect) { - int sprite; int gfxtop = screen.visible_area().top(); bitmap.fill(m_palette->pen_color(256), cliprect); - for( sprite = 0; sprite < 32; sprite++ ) + for (int sprite = 0; sprite < 32; sprite++) { - uint8_t *sprite_data = m_spriteram + ( 0x200 * m_sprite_bank ) + ( sprite * 16 ); - int flags = sprite_data[ 0 ]; - int y = sprite_data[ 1 ] + ( 256 * ( ( flags >> 0 ) & 1 ) ); - int x = sprite_data[ 2 ] + ( 256 * ( ( flags >> 1 ) & 1 ) ); + uint8_t *sprite_data = m_spriteram + (0x200 * m_sprite_bank) + (sprite * 16); + int flags = sprite_data[0]; + int y = sprite_data[1] + (256 * ((flags >> 0) & 1)); + int x = sprite_data[2] + (256 * ((flags >> 1) & 1)); - if( x != 0 ) + if (x != 0) { - int row; - - for( row = 0; row < 8; row++ ) + for (int row = 0; row < 8; row++) { - int color = ( flags >> 2 ) & 0x03; + int color = (flags >> 2) & 0x03; int flipy = flags & 0x10; int flipx = flags & 0x20; - int code = sprite_data[ 15 - row ] + ( 256 * ( ( flags >> 6 ) & 3 ) ); + int code = sprite_data[15 - row] + (256 * ((flags >> 6) & 3)); - m_gfxdecode->gfx( 1 )->transpen(bitmap,cliprect, code, color, flipx, flipy, x + 8, gfxtop + 500 - y - ( row * 16 ), 0 ); + m_gfxdecode->gfx(1)->transpen(bitmap, cliprect, code, color, flipx, flipy, x + 8, gfxtop + 500 - y - (row * 16), 0); } } } - m_bgtiles->draw(screen, bitmap, cliprect, 0, 0 ); + m_bgtiles->draw(screen, bitmap, cliprect, 0, 0); return 0; } @@ -693,7 +690,6 @@ void firefox_state::firefox(machine_config &config) PHILIPS_22VP931(config, m_laserdisc, 0); m_laserdisc->set_overlay(64*8, 525, FUNC(firefox_state::screen_update_firefox)); m_laserdisc->set_overlay_clip(7*8, 53*8-1, 44, 480+44); - m_laserdisc->set_overlay_palette(m_palette); m_laserdisc->add_route(0, "lspeaker", 0.50); m_laserdisc->add_route(1, "rspeaker", 0.50); m_laserdisc->add_ntsc_screen(config, "screen"); diff --git a/src/mame/drivers/gottlieb.cpp b/src/mame/drivers/gottlieb.cpp index ba5f2b9f230..25c0bdb61d5 100644 --- a/src/mame/drivers/gottlieb.cpp +++ b/src/mame/drivers/gottlieb.cpp @@ -1802,7 +1802,6 @@ void gottlieb_state::g2laser(machine_config &config) m_laserdisc->set_audio(FUNC(gottlieb_state::laserdisc_audio_process), this); m_laserdisc->set_overlay(GOTTLIEB_VIDEO_HCOUNT, GOTTLIEB_VIDEO_VCOUNT, FUNC(gottlieb_state::screen_update)); m_laserdisc->set_overlay_clip(0, GOTTLIEB_VIDEO_HBLANK-1, 0, GOTTLIEB_VIDEO_VBLANK-8); - m_laserdisc->set_overlay_palette("palette"); m_laserdisc->add_route(0, "speaker", 1.0); m_laserdisc->set_screen(m_screen); /* right channel is processed as data */ @@ -1868,7 +1867,6 @@ void gottlieb_state::cobram3(machine_config &config) m_laserdisc->set_audio(FUNC(gottlieb_state::laserdisc_audio_process), this); m_laserdisc->set_overlay(GOTTLIEB_VIDEO_HCOUNT, GOTTLIEB_VIDEO_VCOUNT, FUNC(gottlieb_state::screen_update)); m_laserdisc->set_overlay_clip(0, GOTTLIEB_VIDEO_HBLANK-1, 0, GOTTLIEB_VIDEO_VBLANK-8); - m_laserdisc->set_overlay_palette("palette"); m_laserdisc->add_route(0, "speaker", 1.0); m_laserdisc->set_screen(m_screen); /* right channel is processed as data */ diff --git a/src/mame/drivers/gpworld.cpp b/src/mame/drivers/gpworld.cpp index 90147b8dcdf..df0edef9ad1 100644 --- a/src/mame/drivers/gpworld.cpp +++ b/src/mame/drivers/gpworld.cpp @@ -508,7 +508,6 @@ void gpworld_state::gpworld(machine_config &config) PIONEER_LDV1000(config, m_laserdisc, 0); m_laserdisc->set_overlay(512, 256, FUNC(gpworld_state::screen_update)); - m_laserdisc->set_overlay_palette(m_palette); m_laserdisc->add_route(0, "lspeaker", 1.0); m_laserdisc->add_route(1, "rspeaker", 1.0); diff --git a/src/mame/drivers/istellar.cpp b/src/mame/drivers/istellar.cpp index f31809d82d2..a9d4bd4166d 100644 --- a/src/mame/drivers/istellar.cpp +++ b/src/mame/drivers/istellar.cpp @@ -77,24 +77,21 @@ private: /* VIDEO GOODS */ uint32_t istellar_state::screen_update_istellar(screen_device &screen, bitmap_rgb32 &bitmap, const rectangle &cliprect) { - int x, y; - /* clear */ bitmap.fill(0, cliprect); /* Draw tiles */ - for (y = 0; y < 32; y++) + for (int y = 0; y < 32; y++) { - for (x = 0; x < 32; x++) + for (int x = 0; x < 32; x++) { - int tile = m_tile_ram[x+y*32]; - int attr = m_tile_control_ram[x+y*32]; + int tile = m_tile_ram[x + y * 32]; + int attr = m_tile_control_ram[x + y * 32]; - m_gfxdecode->gfx(0)->transpen(bitmap,cliprect,tile,attr & 0x0f,0, 0, x*8, y*8, 0); + m_gfxdecode->gfx(0)->transpen(bitmap, cliprect, tile, attr & 0x0f, 0, 0, x * 8, y * 8, 0); } } - /* Draw sprites */ return 0; @@ -298,7 +295,6 @@ void istellar_state::istellar(machine_config &config) PIONEER_LDV1000(config, m_laserdisc, 0); m_laserdisc->set_overlay(256, 256, FUNC(istellar_state::screen_update_istellar)); - m_laserdisc->set_overlay_palette(m_palette); m_laserdisc->add_route(0, "lspeaker", 1.0); m_laserdisc->add_route(1, "rspeaker", 1.0); diff --git a/src/mame/drivers/konblands.cpp b/src/mame/drivers/konblands.cpp index 6078b275cb5..b7ad79ff59b 100644 --- a/src/mame/drivers/konblands.cpp +++ b/src/mame/drivers/konblands.cpp @@ -45,7 +45,7 @@ public: private: // screen updates - uint32_t screen_update(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect); + uint32_t screen_update(screen_device &screen, bitmap_rgb32 &bitmap, const rectangle &cliprect); void konblands_palette(palette_device &palette) const; DECLARE_READ8_MEMBER(ldp_r); DECLARE_WRITE8_MEMBER(ldp_w); @@ -102,19 +102,18 @@ void konblands_state::video_start() { } -uint32_t konblands_state::screen_update( screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect ) +uint32_t konblands_state::screen_update(screen_device &screen, bitmap_rgb32 &bitmap, const rectangle &cliprect) { gfx_element *gfx = m_gfxdecode->gfx(0); - int y,x; int count = 0; - for (y=0;y<32;y++) + for (int y = 0; y < 32; y++) { - for (x=0;x<64;x++) + for (int x = 0; x < 64; x++) { uint8_t tile = m_vram[count]; - gfx->opaque(bitmap,cliprect,tile,0,0,0,x*8,y*8); + gfx->opaque(bitmap, cliprect, tile, 0, 0, 0, x * 8, y * 8); count++; } @@ -289,7 +288,6 @@ void konblands_state::konblands(machine_config &config) m_laserdisc->command_strobe_callback().set(FUNC(konblands_state::ld_command_strobe_cb)); // TODO: might be different m_laserdisc->set_overlay(512, 256, FUNC(konblands_state::screen_update)); - m_laserdisc->set_overlay_palette("palette"); /* video hardware */ m_laserdisc->add_ntsc_screen(config, "screen"); diff --git a/src/mame/drivers/lgp.cpp b/src/mame/drivers/lgp.cpp index f2f4fc4d76d..76b21aa9428 100644 --- a/src/mame/drivers/lgp.cpp +++ b/src/mame/drivers/lgp.cpp @@ -124,8 +124,6 @@ private: /* VIDEO GOODS */ uint32_t lgp_state::screen_update_lgp(screen_device &screen, bitmap_rgb32 &bitmap, const rectangle &cliprect) { - int charx, chary; - /* make color 0 transparent */ m_palette->set_pen_color(0, rgb_t(0,0,0,0)); @@ -133,18 +131,18 @@ uint32_t lgp_state::screen_update_lgp(screen_device &screen, bitmap_rgb32 &bitma bitmap.fill(0, cliprect); /* Draw tiles */ - for (charx = 0; charx < 32; charx++) + for (int charx = 0; charx < 32; charx++) { - for (chary = 0; chary < 32; chary++) + for (int chary = 0; chary < 32; chary++) { - int current_screen_character = (chary*32) + charx; + int current_screen_character = (chary * 32) + charx; /* Somewhere there's a flag that offsets the tilemap by 0x100*x */ /* Palette is likely set somewhere as well (tile_control_ram?) */ - m_gfxdecode->gfx(0)->transpen(bitmap,cliprect, + m_gfxdecode->gfx(0)->transpen(bitmap, cliprect, m_tile_ram[current_screen_character], 0, - 0, 0, charx*8, chary*8, 0); + 0, 0, charx * 8, chary * 8, 0); } } @@ -426,7 +424,6 @@ void lgp_state::lgp(machine_config &config) PIONEER_LDV1000(config, m_laserdisc, 0); m_laserdisc->command_strobe_callback().set(FUNC(lgp_state::ld_command_strobe_cb)); m_laserdisc->set_overlay(256, 256, FUNC(lgp_state::screen_update_lgp)); - m_laserdisc->set_overlay_palette(m_palette); m_laserdisc->add_route(0, "lspeaker", 1.0); m_laserdisc->add_route(1, "rspeaker", 1.0); diff --git a/src/mame/drivers/segald.cpp b/src/mame/drivers/segald.cpp index 8f5f3de8a64..24d4ca2866c 100644 --- a/src/mame/drivers/segald.cpp +++ b/src/mame/drivers/segald.cpp @@ -82,15 +82,13 @@ private: /* VIDEO GOODS */ void segald_state::astron_draw_characters(bitmap_rgb32 &bitmap,const rectangle &cliprect) { - uint8_t characterX, characterY; - - for (characterX = 0; characterX < 32; characterX++) + for (uint8_t character_x = 0; character_x < 32; character_x++) { - for (characterY = 0; characterY < 32; characterY++) + for (uint8_t character_y = 0; character_y < 32; character_y++) { - int current_screen_character = (characterY*32) + characterX; - m_gfxdecode->gfx(0)->transpen(bitmap,cliprect, m_fix_ram[current_screen_character], - 1, 0, 0, characterX*8, characterY*8, 0); + int current_screen_character = (character_y * 32) + character_x; + m_gfxdecode->gfx(0)->transpen(bitmap, cliprect, m_fix_ram[current_screen_character], + 1, 0, 0, character_x * 8, character_y * 8, 0); } } } @@ -107,15 +105,11 @@ void segald_state::astron_draw_sprites(bitmap_rgb32 &bitmap, const rectangle &cl /* const uint8_t SPR_GFXOFS_LO = 6;*/ /* const uint8_t SPR_GFXOFS_HI = 7;*/ - int sx,sy; - int spr_number; - int spr_base; - - for (spr_number = 0; spr_number < 32; spr_number++) + for (int spr_number = 0; spr_number < 32; spr_number++) { - spr_base = 0x10 * spr_number; - sy = m_obj_ram[spr_base + SPR_Y_TOP]; - sx = m_obj_ram[spr_base + SPR_X_LO]; + int spr_base = 0x10 * spr_number; + int sy = m_obj_ram[spr_base + SPR_Y_TOP]; + int sx = m_obj_ram[spr_base + SPR_X_LO]; if (sx != 0 || sy != 0) logerror("Hey! A sprite's not at 0,0 : %d %d", sx, sy); @@ -387,7 +381,6 @@ void segald_state::astron(machine_config &config) PIONEER_LDV1000(config, m_laserdisc, 0); m_laserdisc->set_overlay(256, 256, FUNC(segald_state::screen_update_astron)); - m_laserdisc->set_overlay_palette(m_palette); m_laserdisc->add_route(0, "lspeaker", 1.0); m_laserdisc->add_route(1, "rspeaker", 1.0); diff --git a/src/mame/drivers/superdq.cpp b/src/mame/drivers/superdq.cpp index 3cc3a1267bf..5bc30815604 100644 --- a/src/mame/drivers/superdq.cpp +++ b/src/mame/drivers/superdq.cpp @@ -346,7 +346,6 @@ void superdq_state::superdq(machine_config &config) PIONEER_LDV1000(config, m_laserdisc, 0); m_laserdisc->set_overlay(256, 256, FUNC(superdq_state::screen_update_superdq)); - m_laserdisc->set_overlay_palette(m_palette); m_laserdisc->add_route(0, "lspeaker", 1.0); m_laserdisc->add_route(1, "rspeaker", 1.0); |