srcclean and cleanup

This commit is contained in:
Vas Crabb 2024-07-28 08:56:25 +10:00
parent 79c2365979
commit 0f64064d47
24 changed files with 129 additions and 132 deletions

View File

@ -235,20 +235,6 @@ if (SOUNDS["ES1373"]~=null) then
}
end
---------------------------------------------------
-- Data East custom sound chips
--@src/devices/sound/bsmt2000.h,SOUNDS["BSMT2000"] = true
---------------------------------------------------
if (SOUNDS["BSMT2000"]~=null) then
files {
MAME_DIR .. "src/devices/sound/bsmt2000.cpp",
MAME_DIR .. "src/devices/sound/bsmt2000.h",
}
end
---------------------------------------------------
-- Ensoniq 5503 (Apple IIgs)
--@src/devices/sound/es5503.h,SOUNDS["ES5503"] = true
@ -262,7 +248,6 @@ if (SOUNDS["ES5503"]~=null) then
end
---------------------------------------------------
-- Ensoniq 5505/5506
--@src/devices/sound/es5506.h,SOUNDS["ES5505"] = true
@ -289,6 +274,20 @@ if (SOUNDS["ESQPUMP"]~=null) then
end
---------------------------------------------------
-- Data East custom sound chips
--@src/devices/sound/bsmt2000.h,SOUNDS["BSMT2000"] = true
---------------------------------------------------
if (SOUNDS["BSMT2000"]~=null) then
files {
MAME_DIR .. "src/devices/sound/bsmt2000.cpp",
MAME_DIR .. "src/devices/sound/bsmt2000.h",
}
end
---------------------------------------------------
-- Excellent Systems ADPCM sound chip
--@src/devices/sound/es8712.h,SOUNDS["ES8712"] = true
@ -1623,18 +1622,6 @@ if (SOUNDS["XT446"]~=null) then
}
end
---------------------------------------------------
-- Roland LP-based sample players
--@src/devices/sound/roland_lp.h,SOUNDS["ROLANDLP"] = true
---------------------------------------------------
if (SOUNDS["ROLANDLP"]~=null) then
files {
MAME_DIR .. "src/devices/sound/roland_lp.cpp",
MAME_DIR .. "src/devices/sound/roland_lp.h",
}
end
---------------------------------------------------
-- Roland GP-based sample players
--@src/devices/sound/roland_gp.h,SOUNDS["ROLANDGP"] = true
@ -1647,6 +1634,18 @@ if (SOUNDS["ROLANDGP"]~=null) then
}
end
---------------------------------------------------
-- Roland LP-based sample players
--@src/devices/sound/roland_lp.h,SOUNDS["ROLANDLP"] = true
---------------------------------------------------
if (SOUNDS["ROLANDLP"]~=null) then
files {
MAME_DIR .. "src/devices/sound/roland_lp.cpp",
MAME_DIR .. "src/devices/sound/roland_lp.h",
}
end
---------------------------------------------------
--
--@src/devices/sound/vgm_visualizer.h,SOUNDS["VGMVIZ"] = true

View File

@ -439,7 +439,8 @@ bool dio16_98620_device::dma_transfer(int channel)
if (!m_dmar[channel])
return false;
LOG("dma_transfer %s: tc %d/%d\n", m_regs[channel].dma_out ? "out" : "in",
LOG("dma_transfer %s: tc %d/%d\n",
m_regs[channel].dma_out ? "out" : "in",
m_regs[channel].tc, m_regs[channel].subcount);
if (m_regs[channel].dma_out) {

View File

@ -830,7 +830,7 @@ void eclipse_state::via2_out_b_q900(u8 data)
SOFTWARE_LIST(config, "hdd_list").set_original("mac_hdd");
SOFTWARE_LIST(config, "cd_list").set_original("mac_cdrom").set_filter("MC68040");
// SOFTWARE_LIST(config, "cd_apple_dev").set_original("apple_devcd");
//SOFTWARE_LIST(config, "cd_apple_dev").set_original("apple_devcd");
SOFTWARE_LIST(config, "flop_mac35_orig").set_original("mac_flop_orig");
SOFTWARE_LIST(config, "flop_mac35_clean").set_original("mac_flop_clcracked");
SOFTWARE_LIST(config, "flop35_list").set_original("mac_flop");

View File

@ -490,8 +490,9 @@ void pv1000_state::pv1000(machine_config &config)
// Note that this value is overridden by the user's pv1000.cfg, if present.
// 206px x 48/35(PAR) / 4/3(DAR) = 212sl
m_screen->set_default_position(216/206.0,0, //216 px in storage aspect; cropped to 206 px
244/212.0,0); //244 sl in storage aspect; cropped to 212 sl
m_screen->set_default_position(
216/206.0, 0, //216 px in storage aspect; cropped to 206 px
244/212.0, 0); //244 sl in storage aspect; cropped to 212 sl
m_screen->set_screen_update(FUNC(pv1000_state::screen_update_pv1000));
m_screen->set_palette(m_palette);

View File

@ -643,16 +643,15 @@ uint32_t cclimber_state::screen_update_cclimber(screen_device &screen, bitmap_in
bitmap.fill(0, cliprect);
draw_playfield(screen, bitmap, cliprect);
// draw the "big sprite" under the regular sprites
if ((m_bigsprite_control[0] & 0x01))
if (m_bigsprite_control[0] & 0x01)
{
// draw the "big sprite" under the regular sprites
cclimber_draw_bigsprite(screen, bitmap, cliprect);
cclimber_draw_sprites(bitmap, cliprect, m_gfxdecode->gfx(1));
}
// draw the "big sprite" over the regular sprites
else
{
// draw the "big sprite" over the regular sprites
cclimber_draw_sprites(bitmap, cliprect, m_gfxdecode->gfx(1));
cclimber_draw_bigsprite(screen, bitmap, cliprect);
}
@ -675,16 +674,15 @@ uint32_t yamato_state::screen_update_yamato(screen_device &screen, bitmap_ind16
draw_playfield(screen, bitmap, cliprect);
// draw the "big sprite" under the regular sprites
if ((m_bigsprite_control[0] & 0x01))
if (m_bigsprite_control[0] & 0x01)
{
// draw the "big sprite" under the regular sprites
cclimber_draw_bigsprite(screen, bitmap, cliprect);
toprollr_draw_sprites(bitmap, cliprect, m_gfxdecode->gfx(1));
}
// draw the "big sprite" over the regular sprites
else
{
// draw the "big sprite" over the regular sprites
toprollr_draw_sprites(bitmap, cliprect, m_gfxdecode->gfx(1));
cclimber_draw_bigsprite(screen, bitmap, cliprect);
}
@ -728,16 +726,15 @@ uint32_t swimmer_state::screen_update_swimmer(screen_device &screen, bitmap_ind1
draw_playfield(screen, bitmap, cliprect);
// draw the "big sprite" under the regular sprites
if ((m_bigsprite_control[0] & 0x01))
if (m_bigsprite_control[0] & 0x01)
{
// draw the "big sprite" under the regular sprites
cclimber_draw_bigsprite(screen, bitmap, cliprect);
swimmer_draw_sprites(bitmap, cliprect, m_gfxdecode->gfx(1));
}
// draw the "big sprite" over the regular sprites
else
{
// draw the "big sprite" over the regular sprites
swimmer_draw_sprites(bitmap, cliprect, m_gfxdecode->gfx(1));
cclimber_draw_bigsprite(screen, bitmap, cliprect);
}
@ -760,16 +757,15 @@ uint32_t toprollr_state::screen_update_toprollr(screen_device &screen, bitmap_in
m_bg_tilemap->mark_all_dirty();
m_bg_tilemap->draw(screen, bitmap, scroll_area_clip, 0, 0);
// draw the "big sprite" over the regular sprites
if ((m_bigsprite_control[1] & 0x20))
if (m_bigsprite_control[1] & 0x20)
{
// draw the "big sprite" over the regular sprites
toprollr_draw_sprites(bitmap, scroll_area_clip, m_gfxdecode->gfx(1));
toprollr_draw_bigsprite(screen, bitmap, scroll_area_clip);
}
// draw the "big sprite" under the regular sprites
else
{
// draw the "big sprite" under the regular sprites
toprollr_draw_bigsprite(screen, bitmap, scroll_area_clip);
toprollr_draw_sprites(bitmap, scroll_area_clip, m_gfxdecode->gfx(1));
}