summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatarGravatar hap <happppp@users.noreply.github.com>2019-03-07 14:02:37 +0100
committerGravatarGravatar hap <happppp@users.noreply.github.com>2019-03-07 14:02:50 +0100
commitcc1b5720d9283bbec71841e2b9120eed627da5a3 (patch) (github)
treed49092058771133c732226a24b28f2fa27a633e0
parent51d6c61e1473b5542b12c2222c7204364617e1d2 (diff)
downloadmame-cc1b5720d9283bbec71841e2b9120eed627da5a3.tar.bz2
mame-cc1b5720d9283bbec71841e2b9120eed627da5a3.zip
hh*: use set_visarea_full (nw)
-rw-r--r--src/mame/drivers/cc40.cpp1
-rw-r--r--src/mame/drivers/hh_cop400.cpp2
-rw-r--r--src/mame/drivers/hh_hmcs40.cpp81
-rw-r--r--src/mame/drivers/hh_melps4.cpp6
-rw-r--r--src/mame/drivers/hh_sm510.cpp204
-rw-r--r--src/mame/drivers/hh_tms1k.cpp3
-rw-r--r--src/mame/drivers/hh_ucom4.cpp49
7 files changed, 199 insertions, 147 deletions
diff --git a/src/mame/drivers/cc40.cpp b/src/mame/drivers/cc40.cpp
index 7aad936c398..8736bed7f98 100644
--- a/src/mame/drivers/cc40.cpp
+++ b/src/mame/drivers/cc40.cpp
@@ -603,6 +603,7 @@ MACHINE_CONFIG_START(cc40_state::cc40)
MCFG_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(2500))
MCFG_SCREEN_SIZE(6*31+1, 9*1+1+1)
MCFG_SCREEN_VISIBLE_AREA(0, 6*31, 0, 9*1+1)
+ //screen.set_visarea_full();
config.set_default_layout(layout_cc40);
MCFG_SCREEN_UPDATE_DEVICE("hd44780", hd44780_device, screen_update)
MCFG_SCREEN_PALETTE("palette")
diff --git a/src/mame/drivers/hh_cop400.cpp b/src/mame/drivers/hh_cop400.cpp
index 12fc8699438..66f827f7fbd 100644
--- a/src/mame/drivers/hh_cop400.cpp
+++ b/src/mame/drivers/hh_cop400.cpp
@@ -620,7 +620,7 @@ void einvaderc_state::einvaderc(machine_config &config)
screen.set_svg_region("svg");
screen.set_refresh_hz(50);
screen.set_size(913, 1080);
- screen.set_visarea(0, 913-1, 0, 1080-1);
+ screen.set_visarea_full();
TIMER(config, "display_decay").configure_periodic(FUNC(hh_cop400_state::display_decay_tick), attotime::from_msec(1));
config.set_default_layout(layout_einvaderc);
diff --git a/src/mame/drivers/hh_hmcs40.cpp b/src/mame/drivers/hh_hmcs40.cpp
index 0d5447469e2..82a05082a5c 100644
--- a/src/mame/drivers/hh_hmcs40.cpp
+++ b/src/mame/drivers/hh_hmcs40.cpp
@@ -446,7 +446,7 @@ void bambball_state::bambball(machine_config &config)
screen.set_svg_region("svg");
screen.set_refresh_hz(50);
screen.set_size(1920, 478);
- screen.set_visarea(0, 1920-1, 0, 478-1);
+ screen.set_visarea_full();
TIMER(config, "display_decay").configure_periodic(FUNC(hh_hmcs40_state::display_decay_tick), attotime::from_msec(1));
config.set_default_layout(layout_bambball);
@@ -595,7 +595,8 @@ void bmboxing_state::bmboxing(machine_config &config)
screen.set_svg_region("svg");
screen.set_refresh_hz(50);
screen.set_size(1920, 529);
- screen.set_visarea(0, 1920-1, 0, 529-1);
+ screen.set_visarea_full();
+
TIMER(config, "display_decay").configure_periodic(FUNC(hh_hmcs40_state::display_decay_tick), attotime::from_msec(1));
/* sound hardware */
@@ -724,7 +725,8 @@ void bfriskyt_state::bfriskyt(machine_config &config)
screen.set_svg_region("svg");
screen.set_refresh_hz(50);
screen.set_size(1920, 675);
- screen.set_visarea(0, 1920-1, 0, 675-1);
+ screen.set_visarea_full();
+
TIMER(config, "display_decay").configure_periodic(FUNC(hh_hmcs40_state::display_decay_tick), attotime::from_msec(1));
/* sound hardware */
@@ -845,7 +847,7 @@ void packmon_state::packmon(machine_config &config)
screen.set_svg_region("svg");
screen.set_refresh_hz(50);
screen.set_size(1920, 680);
- screen.set_visarea(0, 1920-1, 0, 680-1);
+ screen.set_visarea_full();
TIMER(config, "display_decay").configure_periodic(FUNC(hh_hmcs40_state::display_decay_tick), attotime::from_msec(1));
config.set_default_layout(layout_packmon);
@@ -986,7 +988,7 @@ void msthawk_state::msthawk(machine_config &config)
screen.set_svg_region("svg");
screen.set_refresh_hz(50);
screen.set_size(1920, 696);
- screen.set_visarea(0, 1920-1, 0, 696-1);
+ screen.set_visarea_full();
TIMER(config, "display_decay").configure_periodic(FUNC(hh_hmcs40_state::display_decay_tick), attotime::from_msec(1));
config.set_default_layout(layout_msthawk);
@@ -1115,7 +1117,8 @@ void bzaxxon_state::bzaxxon(machine_config &config)
screen.set_svg_region("svg");
screen.set_refresh_hz(50);
screen.set_size(613, 1080);
- screen.set_visarea(0, 613-1, 0, 1080-1);
+ screen.set_visarea_full();
+
TIMER(config, "display_decay").configure_periodic(FUNC(hh_hmcs40_state::display_decay_tick), attotime::from_msec(1));
/* sound hardware */
@@ -1238,7 +1241,8 @@ void zackman_state::zackman(machine_config &config)
screen.set_svg_region("svg");
screen.set_refresh_hz(50);
screen.set_size(487, 1080);
- screen.set_visarea(0, 487-1, 0, 1080-1);
+ screen.set_visarea_full();
+
TIMER(config, "display_decay").configure_periodic(FUNC(hh_hmcs40_state::display_decay_tick), attotime::from_msec(1));
/* sound hardware */
@@ -1371,7 +1375,8 @@ void bpengo_state::bpengo(machine_config &config)
screen.set_svg_region("svg");
screen.set_refresh_hz(50);
screen.set_size(1920, 759);
- screen.set_visarea(0, 1920-1, 0, 759-1);
+ screen.set_visarea_full();
+
TIMER(config, "display_decay").configure_periodic(FUNC(hh_hmcs40_state::display_decay_tick), attotime::from_msec(1));
/* sound hardware */
@@ -1500,7 +1505,8 @@ void bbtime_state::bbtime(machine_config &config)
screen.set_svg_region("svg");
screen.set_refresh_hz(50);
screen.set_size(379, 1080);
- screen.set_visarea(0, 379-1, 0, 1080-1);
+ screen.set_visarea_full();
+
TIMER(config, "display_decay").configure_periodic(FUNC(hh_hmcs40_state::display_decay_tick), attotime::from_msec(1));
/* sound hardware */
@@ -1609,7 +1615,8 @@ void bdoramon_state::bdoramon(machine_config &config)
screen.set_svg_region("svg");
screen.set_refresh_hz(50);
screen.set_size(1920, 668);
- screen.set_visarea(0, 1920-1, 0, 668-1);
+ screen.set_visarea_full();
+
TIMER(config, "display_decay").configure_periodic(FUNC(hh_hmcs40_state::display_decay_tick), attotime::from_msec(1));
/* sound hardware */
@@ -1711,7 +1718,8 @@ void bultrman_state::bultrman(machine_config &config)
screen.set_svg_region("svg");
screen.set_refresh_hz(50);
screen.set_size(1920, 673);
- screen.set_visarea(0, 1920-1, 0, 673-1);
+ screen.set_visarea_full();
+
TIMER(config, "display_decay").configure_periodic(FUNC(hh_hmcs40_state::display_decay_tick), attotime::from_msec(1));
/* sound hardware */
@@ -1811,7 +1819,8 @@ void machiman_state::machiman(machine_config &config)
screen.set_svg_region("svg");
screen.set_refresh_hz(50);
screen.set_size(1534, 1080);
- screen.set_visarea(0, 1534-1, 0, 1080-1);
+ screen.set_visarea_full();
+
TIMER(config, "display_decay").configure_periodic(FUNC(hh_hmcs40_state::display_decay_tick), attotime::from_msec(1));
/* sound hardware */
@@ -2104,7 +2113,8 @@ void alnattck_state::alnattck(machine_config &config)
screen.set_svg_region("svg");
screen.set_refresh_hz(50);
screen.set_size(1920, 700);
- screen.set_visarea(0, 1920-1, 0, 700-1);
+ screen.set_visarea_full();
+
TIMER(config, "display_decay").configure_periodic(FUNC(hh_hmcs40_state::display_decay_tick), attotime::from_msec(1));
/* sound hardware */
@@ -2248,7 +2258,8 @@ void cdkong_state::cdkong(machine_config &config)
screen.set_svg_region("svg");
screen.set_refresh_hz(50);
screen.set_size(605, 1080);
- screen.set_visarea(0, 605-1, 0, 1080-1);
+ screen.set_visarea_full();
+
TIMER(config, "display_decay").configure_periodic(FUNC(hh_hmcs40_state::display_decay_tick), attotime::from_msec(1));
/* sound hardware */
@@ -2393,7 +2404,8 @@ void cgalaxn_state::cgalaxn(machine_config &config)
screen.set_svg_region("svg");
screen.set_refresh_hz(50);
screen.set_size(526, 1080);
- screen.set_visarea(0, 526-1, 0, 1080-1);
+ screen.set_visarea_full();
+
TIMER(config, "display_decay").configure_periodic(FUNC(hh_hmcs40_state::display_decay_tick), attotime::from_msec(1));
/* sound hardware */
@@ -2525,7 +2537,8 @@ void cpacman_state::cpacman(machine_config &config)
screen.set_svg_region("svg");
screen.set_refresh_hz(50);
screen.set_size(484, 1080);
- screen.set_visarea(0, 484-1, 0, 1080-1);
+ screen.set_visarea_full();
+
TIMER(config, "display_decay").configure_periodic(FUNC(hh_hmcs40_state::display_decay_tick), attotime::from_msec(1));
/* sound hardware */
@@ -2661,7 +2674,8 @@ void cmspacmn_state::cmspacmn(machine_config &config)
screen.set_svg_region("svg");
screen.set_refresh_hz(50);
screen.set_size(481, 1080);
- screen.set_visarea(0, 481-1, 0, 1080-1);
+ screen.set_visarea_full();
+
TIMER(config, "display_decay").configure_periodic(FUNC(hh_hmcs40_state::display_decay_tick), attotime::from_msec(1));
/* sound hardware */
@@ -2952,7 +2966,8 @@ void egalaxn2_state::egalaxn2(machine_config &config)
screen.set_svg_region("svg");
screen.set_refresh_hz(50);
screen.set_size(505, 1080);
- screen.set_visarea(0, 505-1, 0, 1080-1);
+ screen.set_visarea_full();
+
TIMER(config, "display_decay").configure_periodic(FUNC(hh_hmcs40_state::display_decay_tick), attotime::from_msec(1));
/* sound hardware */
@@ -3037,7 +3052,7 @@ void epacman2_state::epacman2(machine_config &config)
/* video hardware */
screen_device *screen = subdevice<screen_device>("screen");
screen->set_size(505, 1080);
- screen->set_visarea(0, 505-1, 0, 1080-1);
+ screen->set_visarea_full();
}
// roms
@@ -3241,7 +3256,8 @@ void eturtles_state::eturtles(machine_config &config)
screen.set_svg_region("svg");
screen.set_refresh_hz(50);
screen.set_size(484, 1080);
- screen.set_visarea(0, 484-1, 0, 1080-1);
+ screen.set_visarea_full();
+
TIMER(config, "display_decay").configure_periodic(FUNC(hh_hmcs40_state::display_decay_tick), attotime::from_msec(1));
/* sound hardware */
@@ -3363,7 +3379,8 @@ void estargte_state::estargte(machine_config &config)
screen.set_svg_region("svg");
screen.set_refresh_hz(50);
screen.set_size(1920, 854);
- screen.set_visarea(0, 1920-1, 0, 854-1);
+ screen.set_visarea_full();
+
TIMER(config, "display_decay").configure_periodic(FUNC(hh_hmcs40_state::display_decay_tick), attotime::from_msec(1));
/* sound hardware */
@@ -3492,7 +3509,8 @@ void ghalien_state::ghalien(machine_config &config)
screen.set_svg_region("svg");
screen.set_refresh_hz(50);
screen.set_size(1920, 699);
- screen.set_visarea(0, 1920-1, 0, 699-1);
+ screen.set_visarea_full();
+
TIMER(config, "display_decay").configure_periodic(FUNC(hh_hmcs40_state::display_decay_tick), attotime::from_msec(1));
/* sound hardware */
@@ -3624,7 +3642,7 @@ void gckong_state::gckong(machine_config &config)
screen.set_svg_region("svg");
screen.set_refresh_hz(50);
screen.set_size(479, 1080);
- screen.set_visarea(0, 479-1, 0, 1080-1);
+ screen.set_visarea_full();
TIMER(config, "display_decay").configure_periodic(FUNC(hh_hmcs40_state::display_decay_tick), attotime::from_msec(1));
config.set_default_layout(layout_gckong);
@@ -3752,7 +3770,8 @@ void gdigdug_state::gdigdug(machine_config &config)
screen.set_svg_region("svg");
screen.set_refresh_hz(50);
screen.set_size(476, 1080);
- screen.set_visarea(0, 476-1, 0, 1080-1);
+ screen.set_visarea_full();
+
TIMER(config, "display_decay").configure_periodic(FUNC(hh_hmcs40_state::display_decay_tick), attotime::from_msec(1));
/* sound hardware */
@@ -3923,7 +3942,7 @@ void mwcbaseb_state::mwcbaseb(machine_config &config)
screen.set_svg_region("svg");
screen.set_refresh_hz(50);
screen.set_size(1920, 478);
- screen.set_visarea(0, 1920-1, 0, 478-1);
+ screen.set_visarea_full();
TIMER(config, "display_decay").configure_periodic(FUNC(hh_hmcs40_state::display_decay_tick), attotime::from_msec(1));
config.set_default_layout(layout_mwcbaseb);
@@ -4025,7 +4044,8 @@ void pbqbert_state::pbqbert(machine_config &config)
screen.set_svg_region("svg");
screen.set_refresh_hz(50);
screen.set_size(603, 1080);
- screen.set_visarea(0, 603-1, 0, 1080-1);
+ screen.set_visarea_full();
+
TIMER(config, "display_decay").configure_periodic(FUNC(hh_hmcs40_state::display_decay_tick), attotime::from_msec(1));
/* sound hardware */
@@ -4151,7 +4171,8 @@ void kingman_state::kingman(machine_config &config)
screen.set_svg_region("svg");
screen.set_refresh_hz(50);
screen.set_size(374, 1080);
- screen.set_visarea(0, 374-1, 0, 1080-1);
+ screen.set_visarea_full();
+
TIMER(config, "display_decay").configure_periodic(FUNC(hh_hmcs40_state::display_decay_tick), attotime::from_msec(1));
/* sound hardware */
@@ -4277,7 +4298,8 @@ void tmtron_state::tmtron(machine_config &config)
screen.set_svg_region("svg");
screen.set_refresh_hz(50);
screen.set_size(1920, 662);
- screen.set_visarea(0, 1920-1, 0, 662-1);
+ screen.set_visarea_full();
+
TIMER(config, "display_decay").configure_periodic(FUNC(hh_hmcs40_state::display_decay_tick), attotime::from_msec(1));
/* sound hardware */
@@ -4382,7 +4404,8 @@ void vinvader_state::vinvader(machine_config &config)
screen.set_svg_region("svg");
screen.set_refresh_hz(50);
screen.set_size(233, 1080);
- screen.set_visarea(0, 233-1, 0, 1080-1);
+ screen.set_visarea_full();
+
TIMER(config, "display_decay").configure_periodic(FUNC(hh_hmcs40_state::display_decay_tick), attotime::from_msec(1));
/* sound hardware */
diff --git a/src/mame/drivers/hh_melps4.cpp b/src/mame/drivers/hh_melps4.cpp
index 13cd63f5b28..7d294433781 100644
--- a/src/mame/drivers/hh_melps4.cpp
+++ b/src/mame/drivers/hh_melps4.cpp
@@ -311,7 +311,8 @@ void cfrogger_state::cfrogger(machine_config &config)
screen_device &screen(SCREEN(config, "screen", "svg"));
screen.set_refresh_hz(50);
screen.set_size(500, 1080);
- screen.set_visarea(0, 500-1, 0, 1080-1);
+ screen.set_visarea_full();
+
TIMER(config, "display_decay").configure_periodic(FUNC(hh_melps4_state::display_decay_tick), attotime::from_msec(1));
/* sound hardware */
@@ -436,7 +437,8 @@ void gjungler_state::gjungler(machine_config &config)
screen_device &screen(SCREEN(config, "screen", "svg"));
screen.set_refresh_hz(50);
screen.set_size(481, 1080);
- screen.set_visarea(0, 481-1, 0, 1080-1);
+ screen.set_visarea_full();
+
TIMER(config, "display_decay").configure_periodic(FUNC(hh_melps4_state::display_decay_tick), attotime::from_msec(1));
/* sound hardware */
diff --git a/src/mame/drivers/hh_sm510.cpp b/src/mame/drivers/hh_sm510.cpp
index d10aa809033..f70f02c5c51 100644
--- a/src/mame/drivers/hh_sm510.cpp
+++ b/src/mame/drivers/hh_sm510.cpp
@@ -309,7 +309,7 @@ void kdribble_state::kdribble(machine_config &config)
screen.set_svg_region("svg");
screen.set_refresh_hz(50);
screen.set_size(1524, 1080);
- screen.set_visarea(0, 1524-1, 0, 1080-1);
+ screen.set_visarea_full();
TIMER(config, "display_decay").configure_periodic(FUNC(hh_sm510_state::display_decay_tick), attotime::from_msec(1));
@@ -389,7 +389,7 @@ void ktopgun_state::ktopgun(machine_config &config)
screen.set_svg_region("svg");
screen.set_refresh_hz(50);
screen.set_size(1515, 1080);
- screen.set_visarea(0, 1515-1, 0, 1080-1);
+ screen.set_visarea_full();
TIMER(config, "display_decay").configure_periodic(FUNC(hh_sm510_state::display_decay_tick), attotime::from_msec(1));
@@ -471,7 +471,7 @@ void kcontra_state::kcontra(machine_config &config)
screen.set_svg_region("svg");
screen.set_refresh_hz(50);
screen.set_size(1505, 1080);
- screen.set_visarea(0, 1505-1, 0, 1080-1);
+ screen.set_visarea_full();
TIMER(config, "display_decay").configure_periodic(FUNC(hh_sm510_state::display_decay_tick), attotime::from_msec(1));
@@ -555,7 +555,7 @@ void ktmnt_state::ktmnt(machine_config &config)
screen.set_svg_region("svg");
screen.set_refresh_hz(50);
screen.set_size(1505, 1080);
- screen.set_visarea(0, 1505-1, 0, 1080-1);
+ screen.set_visarea_full();
TIMER(config, "display_decay").configure_periodic(FUNC(hh_sm510_state::display_decay_tick), attotime::from_msec(1));
@@ -636,7 +636,7 @@ void kgradius_state::kgradius(machine_config &config)
screen.set_svg_region("svg");
screen.set_refresh_hz(50);
screen.set_size(1420, 1080);
- screen.set_visarea(0, 1420-1, 0, 1080-1);
+ screen.set_visarea_full();
TIMER(config, "display_decay").configure_periodic(FUNC(hh_sm510_state::display_decay_tick), attotime::from_msec(1));
@@ -715,7 +715,7 @@ void kloneran_state::kloneran(machine_config &config)
screen.set_svg_region("svg");
screen.set_refresh_hz(50);
screen.set_size(1497, 1080);
- screen.set_visarea(0, 1497-1, 0, 1080-1);
+ screen.set_visarea_full();
TIMER(config, "display_decay").configure_periodic(FUNC(hh_sm510_state::display_decay_tick), attotime::from_msec(1));
@@ -798,7 +798,8 @@ void kblades_state::kblades(machine_config &config)
screen.set_svg_region("svg");
screen.set_refresh_hz(50);
screen.set_size(1516, 1080);
- screen.set_visarea(0, 1516-1, 0, 1080-1);
+ screen.set_visarea_full();
+
TIMER(config, "display_decay").configure_periodic(FUNC(hh_sm510_state::display_decay_tick), attotime::from_msec(1));
/* sound hardware */
@@ -882,7 +883,8 @@ void knfl_state::knfl(machine_config &config)
screen.set_svg_region("svg");
screen.set_refresh_hz(50);
screen.set_size(1449, 1080);
- screen.set_visarea(0, 1449-1, 0, 1080-1);
+ screen.set_visarea_full();
+
TIMER(config, "display_decay").configure_periodic(FUNC(hh_sm510_state::display_decay_tick), attotime::from_msec(1));
/* sound hardware */
@@ -965,7 +967,8 @@ void kbilly_state::kbilly(machine_config &config)
screen.set_svg_region("svg");
screen.set_refresh_hz(50);
screen.set_size(1490, 1080);
- screen.set_visarea(0, 1490-1, 0, 1080-1);
+ screen.set_visarea_full();
+
TIMER(config, "display_decay").configure_periodic(FUNC(hh_sm510_state::display_decay_tick), attotime::from_msec(1));
/* sound hardware */
@@ -1042,7 +1045,8 @@ void kbucky_state::kbucky(machine_config &config)
screen.set_svg_region("svg");
screen.set_refresh_hz(50);
screen.set_size(1490, 1080);
- screen.set_visarea(0, 1490-1, 0, 1080-1);
+ screen.set_visarea_full();
+
TIMER(config, "display_decay").configure_periodic(FUNC(hh_sm510_state::display_decay_tick), attotime::from_msec(1));
/* sound hardware */
@@ -1123,7 +1127,8 @@ void kgarfld_state::kgarfld(machine_config &config)
screen.set_svg_region("svg");
screen.set_refresh_hz(50);
screen.set_size(1500, 1080);
- screen.set_visarea(0, 1500-1, 0, 1080-1);
+ screen.set_visarea_full();
+
TIMER(config, "display_decay").configure_periodic(FUNC(hh_sm510_state::display_decay_tick), attotime::from_msec(1));
/* sound hardware */
@@ -1214,7 +1219,7 @@ void gnw_octopus_state::gnw_octopus(machine_config &config)
screen.set_svg_region("svg");
screen.set_refresh_hz(50);
screen.set_size(1586, 1080);
- screen.set_visarea(0, 1586-1, 0, 1080-1);
+ screen.set_visarea_full();
TIMER(config, "display_decay").configure_periodic(FUNC(hh_sm510_state::display_decay_tick), attotime::from_msec(1));
@@ -1317,7 +1322,7 @@ void gnw_mmouse_state::gnw_mmouse(machine_config &config)
screen.set_svg_region("svg");
screen.set_refresh_hz(50);
screen.set_size(1711, 1080);
- screen.set_visarea(0, 1711-1, 0, 1080-1);
+ screen.set_visarea_full();
TIMER(config, "display_decay").configure_periodic(FUNC(hh_sm510_state::display_decay_tick), attotime::from_msec(1));
@@ -1334,7 +1339,7 @@ void gnw_mmouse_state::gnw_egg(machine_config &config)
/* video hardware */
screen_device *screen = subdevice<screen_device>("screen");
screen->set_size(1694, 1080);
- screen->set_visarea(0, 1694-1, 0, 1080-1);
+ screen->set_visarea_full();
}
void gnw_mmouse_state::nupogodi(machine_config &config)
@@ -1352,7 +1357,7 @@ void gnw_mmouse_state::nupogodi(machine_config &config)
/* video hardware */
screen_device *screen = subdevice<screen_device>("screen");
screen->set_size(1715, 1080);
- screen->set_visarea(0, 1715-1, 0, 1080-1);
+ screen->set_visarea_full();
}
void gnw_mmouse_state::exospace(machine_config &config)
@@ -1362,7 +1367,7 @@ void gnw_mmouse_state::exospace(machine_config &config)
/* video hardware */
screen_device *screen = subdevice<screen_device>("screen");
screen->set_size(1756, 1080);
- screen->set_visarea(0, 1756-1, 0, 1080-1);
+ screen->set_visarea_full();
}
// roms
@@ -1471,7 +1476,7 @@ void gnw_fire_state::gnw_fire(machine_config &config)
screen.set_svg_region("svg");
screen.set_refresh_hz(50);
screen.set_size(1624, 1080);
- screen.set_visarea(0, 1624-1, 0, 1080-1);
+ screen.set_visarea_full();
TIMER(config, "display_decay").configure_periodic(FUNC(hh_sm510_state::display_decay_tick), attotime::from_msec(1));
@@ -1560,7 +1565,7 @@ void gnw_tbridge_state::gnw_tbridge(machine_config &config)
screen.set_svg_region("svg");
screen.set_refresh_hz(50);
screen.set_size(1587, 1080);
- screen.set_visarea(0, 1587-1, 0, 1080-1);
+ screen.set_visarea_full();
TIMER(config, "display_decay").configure_periodic(FUNC(hh_sm510_state::display_decay_tick), attotime::from_msec(1));
@@ -1649,7 +1654,7 @@ void gnw_fireatk_state::gnw_fireatk(machine_config &config)
screen.set_svg_region("svg");
screen.set_refresh_hz(50);
screen.set_size(1655, 1080);
- screen.set_visarea(0, 1655-1, 0, 1080-1);
+ screen.set_visarea_full();
TIMER(config, "display_decay").configure_periodic(FUNC(hh_sm510_state::display_decay_tick), attotime::from_msec(1));
@@ -1738,7 +1743,7 @@ void gnw_stennis_state::gnw_stennis(machine_config &config)
screen.set_svg_region("svg");
screen.set_refresh_hz(50);
screen.set_size(1581, 1080);
- screen.set_visarea(0, 1581-1, 0, 1080-1);
+ screen.set_visarea_full();
TIMER(config, "display_decay").configure_periodic(FUNC(hh_sm510_state::display_decay_tick), attotime::from_msec(1));
@@ -1827,13 +1832,13 @@ void gnw_opanic_state::gnw_opanic(machine_config &config)
screen_top.set_svg_region("svg_top");
screen_top.set_refresh_hz(50);
screen_top.set_size(1920/2, 1292/2);
- screen_top.set_visarea(0, 1920/2-1, 0, 1292/2-1);
+ screen_top.set_visarea_full();
screen_device &screen_bottom(SCREEN(config, "screen_bottom", SCREEN_TYPE_SVG));
screen_bottom.set_svg_region("svg_bottom");
screen_bottom.set_refresh_hz(50);
screen_bottom.set_size(1920/2, 1230/2);
- screen_bottom.set_visarea(0, 1920/2-1, 0, 1230/2-1);
+ screen_bottom.set_visarea_full();
TIMER(config, "display_decay").configure_periodic(FUNC(hh_sm510_state::display_decay_tick), attotime::from_msec(1));
config.set_default_layout(layout_gnw_dualv);
@@ -1924,13 +1929,13 @@ void gnw_dkong_state::gnw_dkong(machine_config &config)
screen_top.set_svg_region("svg_top");
screen_top.set_refresh_hz(50);
screen_top.set_size(1920/2, 1266/2);
- screen_top.set_visarea(0, 1920/2-1, 0, 1266/2-1);
+ screen_top.set_visarea_full();
screen_device &screen_bottom(SCREEN(config, "screen_bottom", SCREEN_TYPE_SVG));
screen_bottom.set_svg_region("svg_bottom");
screen_bottom.set_refresh_hz(50);
screen_bottom.set_size(1920/2, 1266/2);
- screen_bottom.set_visarea(0, 1920/2-1, 0, 1266/2-1);
+ screen_bottom.set_visarea_full();
TIMER(config, "display_decay").configure_periodic(FUNC(hh_sm510_state::display_decay_tick), attotime::from_msec(1));
config.set_default_layout(layout_gnw_dualv);
@@ -2017,13 +2022,13 @@ void gnw_mickdon_state::gnw_mickdon(machine_config &config)
screen_top.set_svg_region("svg_top");
screen_top.set_refresh_hz(50);
screen_top.set_size(1920/2, 1281/2);
- screen_top.set_visarea(0, 1920/2-1, 0, 1281/2-1);
+ screen_top.set_visarea_full();
screen_device &screen_bottom(SCREEN(config, "screen_bottom", SCREEN_TYPE_SVG));
screen_bottom.set_svg_region("svg_bottom");
screen_bottom.set_refresh_hz(50);
screen_bottom.set_size(1920/2, 1236/2);
- screen_bottom.set_visarea(0, 1920/2-1, 0, 1236/2-1);
+ screen_bottom.set_visarea_full();
TIMER(config, "display_decay").configure_periodic(FUNC(hh_sm510_state::display_decay_tick), attotime::from_msec(1));
config.set_default_layout(layout_gnw_dualv);
@@ -2120,13 +2125,13 @@ void gnw_ghouse_state::gnw_ghouse(machine_config &config)
screen_top.set_svg_region("svg_top");
screen_top.set_refresh_hz(50);
screen_top.set_size(1920/2, 1303/2);
- screen_top.set_visarea(0, 1920/2-1, 0, 1303/2-1);
+ screen_top.set_visarea_full();
screen_device &screen_bottom(SCREEN(config, "screen_bottom", SCREEN_TYPE_SVG));
screen_bottom.set_svg_region("svg_bottom");
screen_bottom.set_refresh_hz(50);
screen_bottom.set_size(1920/2, 1274/2);
- screen_bottom.set_visarea(0, 1920/2-1, 0, 1274/2-1);
+ screen_bottom.set_visarea_full();
TIMER(config, "display_decay").configure_periodic(FUNC(hh_sm510_state::display_decay_tick), attotime::from_msec(1));
config.set_default_layout(layout_gnw_dualv);
@@ -2217,13 +2222,13 @@ void gnw_dkong2_state::gnw_dkong2(machine_config &config)
screen_top.set_svg_region("svg_top");
screen_top.set_refresh_hz(50);
screen_top.set_size(1920/2, 1241/2);
- screen_top.set_visarea(0, 1920/2-1, 0, 1241/2-1);
+ screen_top.set_visarea_full();
screen_device &screen_bottom(SCREEN(config, "screen_bottom", SCREEN_TYPE_SVG));
screen_bottom.set_svg_region("svg_bottom");
screen_bottom.set_refresh_hz(50);
screen_bottom.set_size(1920/2, 1237/2);
- screen_bottom.set_visarea(0, 1920/2-1, 0, 1237/2-1);
+ screen_bottom.set_visarea_full();
TIMER(config, "display_decay").configure_periodic(FUNC(hh_sm510_state::display_decay_tick), attotime::from_msec(1));
config.set_default_layout(layout_gnw_dualv);
@@ -2316,13 +2321,13 @@ void gnw_mario_state::gnw_mario(machine_config &config)
screen_left.set_svg_region("svg_left");
screen_left.set_refresh_hz(50);
screen_left.set_size(2258/2, 1440/2);
- screen_left.set_visarea(0, 2258/2-1, 0, 1440/2-1);
+ screen_left.set_visarea_full();
screen_device &screen_right(SCREEN(config, "screen_right", SCREEN_TYPE_SVG));
screen_right.set_svg_region("svg_right");
screen_right.set_refresh_hz(50);
screen_right.set_size(2261/2, 1440/2);
- screen_right.set_visarea(0, 2261/2-1, 0, 1440/2-1);
+ screen_right.set_visarea_full();
TIMER(config, "display_decay").configure_periodic(FUNC(hh_sm510_state::display_decay_tick), attotime::from_msec(1));
config.set_default_layout(layout_gnw_dualh);
@@ -2421,13 +2426,13 @@ void gnw_rshower_state::gnw_rshower(machine_config &config)
screen_left.set_svg_region("svg_left");
screen_left.set_refresh_hz(50);
screen_left.set_size(2126/2, 1440/2);
- screen_left.set_visarea(0, 2126/2-1, 0, 1440/2-1);
+ screen_left.set_visarea_full();
screen_device &screen_right(SCREEN(config, "screen_right", SCREEN_TYPE_SVG));
screen_right.set_svg_region("svg_right");
screen_right.set_refresh_hz(50);
screen_right.set_size(2146/2, 1440/2);
- screen_right.set_visarea(0, 2146/2-1, 0, 1440/2-1);
+ screen_right.set_visarea_full();
TIMER(config, "display_decay").configure_periodic(FUNC(hh_sm510_state::display_decay_tick), attotime::from_msec(1));
config.set_default_layout(layout_gnw_dualh);
@@ -2520,13 +2525,13 @@ void gnw_lboat_state::gnw_lboat(machine_config &config)
screen_left.set_svg_region("svg_left");
screen_left.set_refresh_hz(50);
screen_left.set_size(2116/2, 1440/2);
- screen_left.set_visarea(0, 2116/2-1, 0, 1440/2-1);
+ screen_left.set_visarea_full();
screen_device &screen_right(SCREEN(config, "screen_right", SCREEN_TYPE_SVG));
screen_right.set_svg_region("svg_right");
screen_right.set_refresh_hz(50);
screen_right.set_size(2057/2, 1440/2);
- screen_right.set_visarea(0, 2057/2-1, 0, 1440/2-1);
+ screen_right.set_visarea_full();
TIMER(config, "display_decay").configure_periodic(FUNC(hh_sm510_state::display_decay_tick), attotime::from_msec(1));
config.set_default_layout(layout_gnw_dualh);
@@ -2606,13 +2611,13 @@ void gnw_bjack_state::gnw_bjack(machine_config &config)
screen_top.set_svg_region("svg_top");
screen_top.set_refresh_hz(50);
screen_top.set_size(1920/2, 1290/2);
- screen_top.set_visarea(0, 1920/2-1, 0, 1290/2-1);
+ screen_top.set_visarea_full();
screen_device &screen_bottom(SCREEN(config, "screen_bottom", SCREEN_TYPE_SVG));
screen_bottom.set_svg_region("svg_bottom");
screen_bottom.set_refresh_hz(50);
screen_bottom.set_size(1920/2, 1297/2);
- screen_bottom.set_visarea(0, 1920/2-1, 0, 1297/2-1);
+ screen_bottom.set_visarea_full();
TIMER(config, "display_decay").configure_periodic(FUNC(hh_sm510_state::display_decay_tick), attotime::from_msec(1));
config.set_default_layout(layout_gnw_dualv);
@@ -2708,13 +2713,13 @@ void gnw_squish_state::gnw_squish(machine_config &config)
screen_top.set_svg_region("svg_top");
screen_top.set_refresh_hz(50);
screen_top.set_size(1920/2, 1285/2);
- screen_top.set_visarea(0, 1920/2-1, 0, 1285/2-1);
+ screen_top.set_visarea_full();
screen_device &screen_bottom(SCREEN(config, "screen_bottom", SCREEN_TYPE_SVG));
screen_bottom.set_svg_region("svg_bottom");
screen_bottom.set_refresh_hz(50);
screen_bottom.set_size(1920/2, 1287/2);
- screen_bottom.set_visarea(0, 1920/2-1, 0, 1287/2-1);
+ screen_bottom.set_visarea_full();
TIMER(config, "display_decay").configure_periodic(FUNC(hh_sm510_state::display_decay_tick), attotime::from_msec(1));
config.set_default_layout(layout_gnw_dualv);
@@ -2813,7 +2818,7 @@ void gnw_dkjr_state::gnw_dkjr(machine_config &config)
screen.set_svg_region("svg");
screen.set_refresh_hz(50);
screen.set_size(1647, 1080);
- screen.set_visarea(0, 1647-1, 0, 1080-1);
+ screen.set_visarea_full();
TIMER(config, "display_decay").configure_periodic(FUNC(hh_sm510_state::display_decay_tick), attotime::from_msec(1));
@@ -2903,7 +2908,7 @@ void gnw_mariocm_state::gnw_mariocm(machine_config &config)
screen.set_svg_region("svg");
screen.set_refresh_hz(50);
screen.set_size(1647, 1080);
- screen.set_visarea(0, 1647-1, 0, 1080-1);
+ screen.set_visarea_full();
TIMER(config, "display_decay").configure_periodic(FUNC(hh_sm510_state::display_decay_tick), attotime::from_msec(1));
@@ -2994,7 +2999,7 @@ void gnw_manhole_state::gnw_manhole(machine_config &config)
screen.set_svg_region("svg");
screen.set_refresh_hz(50);
screen.set_size(1560, 1080);
- screen.set_visarea(0, 1560-1, 0, 1080-1);
+ screen.set_visarea_full();
TIMER(config, "display_decay").configure_periodic(FUNC(hh_sm510_state::display_decay_tick), attotime::from_msec(1));
@@ -3077,7 +3082,7 @@ void gnw_tfish_state::gnw_tfish(machine_config &config)
screen.set_svg_region("svg");
screen.set_refresh_hz(50);
screen.set_size(1572, 1080);
- screen.set_visarea(0, 1572-1, 0, 1080-1);
+ screen.set_visarea_full();
TIMER(config, "display_decay").configure_periodic(FUNC(hh_sm510_state::display_decay_tick), attotime::from_msec(1));
@@ -3168,7 +3173,7 @@ void gnw_smb_state::gnw_smb(machine_config &config)
screen.set_svg_region("svg");
screen.set_refresh_hz(50);
screen.set_size(1677, 1080);
- screen.set_visarea(0, 1677-1, 0, 1080-1);
+ screen.set_visarea_full();
TIMER(config, "display_decay").configure_periodic(FUNC(hh_sm510_state::display_decay_tick), attotime::from_msec(1));
@@ -3262,7 +3267,7 @@ void gnw_climber_state::gnw_climber(machine_config &config)
screen.set_svg_region("svg");
screen.set_refresh_hz(50);
screen.set_size(1677, 1080);
- screen.set_visarea(0, 1677-1, 0, 1080-1);
+ screen.set_visarea_full();
TIMER(config, "display_decay").configure_periodic(FUNC(hh_sm510_state::display_decay_tick), attotime::from_msec(1));
@@ -3376,7 +3381,7 @@ void gnw_boxing_state::gnw_boxing(machine_config &config)
screen.set_svg_region("svg");
screen.set_refresh_hz(50);
screen.set_size(1920, 524);
- screen.set_visarea(0, 1920-1, 0, 524-1);
+ screen.set_visarea_full();
TIMER(config, "display_decay").configure_periodic(FUNC(hh_sm510_state::display_decay_tick), attotime::from_msec(1));
@@ -3499,7 +3504,7 @@ void tgaunt_state::tgaunt(machine_config &config)
screen.set_svg_region("svg");
screen.set_refresh_hz(50);
screen.set_size(1425, 1080);
- screen.set_visarea(0, 1425-1, 0, 1080-1);
+ screen.set_visarea_full();
TIMER(config, "display_decay").configure_periodic(FUNC(hh_sm510_state::display_decay_tick), attotime::from_msec(1));
@@ -3516,7 +3521,7 @@ void tgaunt_state::trobhood(machine_config &config)
/* video hardware */
screen_device *screen = subdevice<screen_device>("screen");
screen->set_size(1468, 1080);
- screen->set_visarea(0, 1468-1, 0, 1080-1);
+ screen->set_visarea_full();
}
// roms
@@ -3620,7 +3625,7 @@ void tddragon_state::tddragon(machine_config &config)
screen.set_svg_region("svg");
screen.set_refresh_hz(50);
screen.set_size(1467, 1080);
- screen.set_visarea(0, 1467-1, 0, 1080-1);
+ screen.set_visarea_full();
TIMER(config, "display_decay").configure_periodic(FUNC(hh_sm510_state::display_decay_tick), attotime::from_msec(1));
@@ -3724,7 +3729,7 @@ void tkarnov_state::tkarnov(machine_config &config)
screen.set_svg_region("svg");
screen.set_refresh_hz(50);
screen.set_size(1477, 1080);
- screen.set_visarea(0, 1477-1, 0, 1080-1);
+ screen.set_visarea_full();
TIMER(config, "display_decay").configure_periodic(FUNC(hh_sm510_state::display_decay_tick), attotime::from_msec(1));
@@ -3827,7 +3832,7 @@ void tvindictr_state::tvindictr(machine_config &config)
screen.set_svg_region("svg");
screen.set_refresh_hz(50);
screen.set_size(1459, 1080);
- screen.set_visarea(0, 1459-1, 0, 1080-1);
+ screen.set_visarea_full();
TIMER(config, "display_decay").configure_periodic(FUNC(hh_sm510_state::display_decay_tick), attotime::from_msec(1));
@@ -3953,7 +3958,7 @@ void tgaiden_state::tgaiden(machine_config &config)
screen.set_svg_region("svg");
screen.set_refresh_hz(50);
screen.set_size(1920, 1080);
- screen.set_visarea(0, 1920-1, 0, 1080-1);
+ screen.set_visarea_full();
TIMER(config, "display_decay").configure_periodic(FUNC(hh_sm510_state::display_decay_tick), attotime::from_msec(1));
@@ -4052,7 +4057,7 @@ void tbatman_state::tbatman(machine_config &config)
screen.set_svg_region("svg");
screen.set_refresh_hz(50);
screen.set_size(1442, 1080);
- screen.set_visarea(0, 1442-1, 0, 1080-1);
+ screen.set_visarea_full();
TIMER(config, "display_decay").configure_periodic(FUNC(hh_sm510_state::display_decay_tick), attotime::from_msec(1));
@@ -4155,7 +4160,7 @@ void tsharr2_state::tsharr2(machine_config &config)
screen.set_svg_region("svg");
screen.set_refresh_hz(50);
screen.set_size(1493, 1080);
- screen.set_visarea(0, 1493-1, 0, 1080-1);
+ screen.set_visarea_full();
TIMER(config, "display_decay").configure_periodic(FUNC(hh_sm510_state::display_decay_tick), attotime::from_msec(1));
@@ -4255,7 +4260,7 @@ void tstrider_state::tstrider(machine_config &config)
screen.set_svg_region("svg");
screen.set_refresh_hz(50);
screen.set_size(1479, 1080);
- screen.set_visarea(0, 1479-1, 0, 1080-1);
+ screen.set_visarea_full();
TIMER(config, "display_decay").configure_periodic(FUNC(hh_sm510_state::display_decay_tick), attotime::from_msec(1));
@@ -4359,7 +4364,7 @@ void tgoldnaxe_state::tgoldnaxe(machine_config &config)
screen.set_svg_region("svg");
screen.set_refresh_hz(50);
screen.set_size(1456, 1080);
- screen.set_visarea(0, 1456-1, 0, 1080-1);
+ screen.set_visarea_full();
TIMER(config, "display_decay").configure_periodic(FUNC(hh_sm510_state::display_decay_tick), attotime::from_msec(1));
@@ -4480,7 +4485,7 @@ void trobocop2_state::trobocop2(machine_config &config)
screen.set_svg_region("svg");
screen.set_refresh_hz(50);
screen.set_size(1487, 1080);
- screen.set_visarea(0, 1487-1, 0, 1080-1);
+ screen.set_visarea_full();
TIMER(config, "display_decay").configure_periodic(FUNC(hh_sm510_state::display_decay_tick), attotime::from_msec(1));
@@ -4497,7 +4502,7 @@ void trobocop2_state::trockteer(machine_config &config)
/* video hardware */
screen_device *screen = subdevice<screen_device>("screen");
screen->set_size(1463, 1080);
- screen->set_visarea(0, 1463-1, 0, 1080-1);
+ screen->set_visarea_full();
}
// roms
@@ -4606,7 +4611,7 @@ void taltbeast_state::taltbeast(machine_config &config)
screen.set_svg_region("svg");
screen.set_refresh_hz(50);
screen.set_size(1455, 1080);
- screen.set_visarea(0, 1455-1, 0, 1080-1);
+ screen.set_visarea_full();
TIMER(config, "display_decay").configure_periodic(FUNC(hh_sm510_state::display_decay_tick), attotime::from_msec(1));
@@ -4710,7 +4715,7 @@ void tsf2010_state::tsf2010(machine_config &config)
screen.set_svg_region("svg");
screen.set_refresh_hz(50);
screen.set_size(1465, 1080);
- screen.set_visarea(0, 1465-1, 0, 1080-1);
+ screen.set_visarea_full();
TIMER(config, "display_decay").configure_periodic(FUNC(hh_sm510_state::display_decay_tick), attotime::from_msec(1));
@@ -4810,7 +4815,7 @@ void tswampt_state::tswampt(machine_config &config)
screen.set_svg_region("svg");
screen.set_refresh_hz(50);
screen.set_size(1450, 1080);
- screen.set_visarea(0, 1450-1, 0, 1080-1);
+ screen.set_visarea_full();
TIMER(config, "display_decay").configure_periodic(FUNC(hh_sm510_state::display_decay_tick), attotime::from_msec(1));
@@ -4914,7 +4919,7 @@ void tspidman_state::tspidman(machine_config &config)
screen.set_svg_region("svg");
screen.set_refresh_hz(50);
screen.set_size(1440, 1080);
- screen.set_visarea(0, 1440-1, 0, 1080-1);
+ screen.set_visarea_full();
TIMER(config, "display_decay").configure_periodic(FUNC(hh_sm510_state::display_decay_tick), attotime::from_msec(1));
@@ -5018,7 +5023,7 @@ void txmen_state::txmen(machine_config &config)
screen.set_svg_region("svg");
screen.set_refresh_hz(50);
screen.set_size(1467, 1080);
- screen.set_visarea(0, 1467-1, 0, 1080-1);
+ screen.set_visarea_full();
TIMER(config, "display_decay").configure_periodic(FUNC(hh_sm510_state::display_decay_tick), attotime::from_msec(1));
@@ -5122,7 +5127,7 @@ void tddragon3_state::tddragon3(machine_config &config)
screen.set_svg_region("svg");
screen.set_refresh_hz(50);
screen.set_size(1514, 1080);
- screen.set_visarea(0, 1514-1, 0, 1080-1);
+ screen.set_visarea_full();
TIMER(config, "display_decay").configure_periodic(FUNC(hh_sm510_state::display_decay_tick), attotime::from_msec(1));
@@ -5226,7 +5231,7 @@ void tflash_state::tflash(machine_config &config)
screen.set_svg_region("svg");
screen.set_refresh_hz(50);
screen.set_size(1444, 1080);
- screen.set_visarea(0, 1444-1, 0, 1080-1);
+ screen.set_visarea_full();
TIMER(config, "display_decay").configure_periodic(FUNC(hh_sm510_state::display_decay_tick), attotime::from_msec(1));
@@ -5330,7 +5335,7 @@ void tmchammer_state::tmchammer(machine_config &config)
screen.set_svg_region("svg");
screen.set_refresh_hz(50);
screen.set_size(1471, 1080);
- screen.set_visarea(0, 1471-1, 0, 1080-1);
+ screen.set_visarea_full();
TIMER(config, "display_decay").configure_periodic(FUNC(hh_sm510_state::display_decay_tick), attotime::from_msec(1));
@@ -5437,7 +5442,7 @@ void tbtoads_state::tbtoads(machine_config &config)
screen.set_svg_region("svg");
screen.set_refresh_hz(50);
screen.set_size(1454, 1080);
- screen.set_visarea(0, 1454-1, 0, 1080-1);
+ screen.set_visarea_full();
TIMER(config, "display_decay").configure_periodic(FUNC(hh_sm510_state::display_decay_tick), attotime::from_msec(1));
@@ -5541,7 +5546,7 @@ void thook_state::thook(machine_config &config)
screen.set_svg_region("svg");
screen.set_refresh_hz(50);
screen.set_size(1489, 1080);
- screen.set_visarea(0, 1489-1, 0, 1080-1);
+ screen.set_visarea_full();
TIMER(config, "display_decay").configure_periodic(FUNC(hh_sm510_state::display_decay_tick), attotime::from_msec(1));
@@ -5644,7 +5649,7 @@ void tbttf_state::tbttf(machine_config &config)
screen.set_svg_region("svg");
screen.set_refresh_hz(50);
screen.set_size(1466, 1080);
- screen.set_visarea(0, 1466-1, 0, 1080-1);
+ screen.set_visarea_full();
TIMER(config, "display_decay").configure_periodic(FUNC(hh_sm510_state::display_decay_tick), attotime::from_msec(1));
@@ -5750,7 +5755,7 @@ void taddams_state::taddams(machine_config &config)
screen.set_svg_region("svg");
screen.set_refresh_hz(50);
screen.set_size(1464, 1080);
- screen.set_visarea(0, 1464-1, 0, 1080-1);
+ screen.set_visarea_full();
TIMER(config, "display_decay").configure_periodic(FUNC(hh_sm510_state::display_decay_tick), attotime::from_msec(1));
@@ -5854,7 +5859,7 @@ void thalone_state::thalone(machine_config &config)
screen.set_svg_region("svg");
screen.set_refresh_hz(50);
screen.set_size(1448, 1080);
- screen.set_visarea(0, 1448-1, 0, 1080-1);
+ screen.set_visarea_full();
TIMER(config, "display_decay").configure_periodic(FUNC(hh_sm510_state::display_decay_tick), attotime::from_msec(1));
@@ -5954,7 +5959,7 @@ void txmenpx_state::txmenpx(machine_config &config)
screen.set_svg_region("svg");
screen.set_refresh_hz(50);
screen.set_size(1464, 1080);
- screen.set_visarea(0, 1464-1, 0, 1080-1);
+ screen.set_visarea_full();
TIMER(config, "display_decay").configure_periodic(FUNC(hh_sm510_state::display_decay_tick), attotime::from_msec(1));
@@ -6058,7 +6063,7 @@ void thalone2_state::thalone2(machine_config &config)
screen.set_svg_region("svg");
screen.set_refresh_hz(50);
screen.set_size(1454, 1080);
- screen.set_visarea(0, 1454-1, 0, 1080-1);
+ screen.set_visarea_full();
TIMER(config, "display_decay").configure_periodic(FUNC(hh_sm510_state::display_decay_tick), attotime::from_msec(1));
@@ -6156,7 +6161,8 @@ void tsonic_state::tsonic(machine_config &config)
screen.set_svg_region("svg");
screen.set_refresh_hz(50);
screen.set_size(1517, 1080);
- screen.set_visarea(0, 1517-1, 0, 1080-1);
+ screen.set_visarea_full();
+
TIMER(config, "display_decay").configure_periodic(FUNC(hh_sm510_state::display_decay_tick), attotime::from_msec(1));
/* sound hardware */
@@ -6263,7 +6269,7 @@ void trobocop3_state::trobocop3(machine_config &config)
screen.set_svg_region("svg");
screen.set_refresh_hz(50);
screen.set_size(1464, 1080);
- screen.set_visarea(0, 1464-1, 0, 1080-1);
+ screen.set_visarea_full();
TIMER(config, "display_decay").configure_periodic(FUNC(hh_sm510_state::display_decay_tick), attotime::from_msec(1));
@@ -6363,7 +6369,7 @@ void tdummies_state::tdummies(machine_config &config)
screen.set_svg_region("svg");
screen.set_refresh_hz(50);
screen.set_size(1441, 1080);
- screen.set_visarea(0, 1441-1, 0, 1080-1);
+ screen.set_visarea_full();
TIMER(config, "display_decay").configure_periodic(FUNC(hh_sm510_state::display_decay_tick), attotime::from_msec(1));
@@ -6467,7 +6473,7 @@ void tsfight2_state::tsfight2(machine_config &config)
screen.set_svg_region("svg");
screen.set_refresh_hz(50);
screen.set_size(1444, 1080);
- screen.set_visarea(0, 1444-1, 0, 1080-1);
+ screen.set_visarea_full();
TIMER(config, "display_decay").configure_periodic(FUNC(hh_sm510_state::display_decay_tick), attotime::from_msec(1));
@@ -6571,7 +6577,7 @@ void twworld_state::twworld(machine_config &config)
screen.set_svg_region("svg");
screen.set_refresh_hz(50);
screen.set_size(1429, 1080);
- screen.set_visarea(0, 1429-1, 0, 1080-1);
+ screen.set_visarea_full();
TIMER(config, "display_decay").configure_periodic(FUNC(hh_sm510_state::display_decay_tick), attotime::from_msec(1));
@@ -6671,7 +6677,7 @@ void tjpark_state::tjpark(machine_config &config)
screen.set_svg_region("svg");
screen.set_refresh_hz(50);
screen.set_size(1454, 1080);
- screen.set_visarea(0, 1454-1, 0, 1080-1);
+ screen.set_visarea_full();
TIMER(config, "display_decay").configure_periodic(FUNC(hh_sm510_state::display_decay_tick), attotime::from_msec(1));
@@ -6769,7 +6775,8 @@ void tsonic2_state::tsonic2(machine_config &config)
screen.set_svg_region("svg");
screen.set_refresh_hz(50);
screen.set_size(1475, 1080);
- screen.set_visarea(0, 1475-1, 0, 1080-1);
+ screen.set_visarea_full();
+
TIMER(config, "display_decay").configure_periodic(FUNC(hh_sm510_state::display_decay_tick), attotime::from_msec(1));
/* sound hardware */
@@ -6881,7 +6888,7 @@ void tsddragon_state::tsddragon(machine_config &config)
screen.set_svg_region("svg");
screen.set_refresh_hz(50);
screen.set_size(1503, 1080);
- screen.set_visarea(0, 1503-1, 0, 1080-1);
+ screen.set_visarea_full();
TIMER(config, "display_decay").configure_periodic(FUNC(hh_sm510_state::display_decay_tick), attotime::from_msec(1));
@@ -6986,7 +6993,7 @@ void tdennis_state::tdennis(machine_config &config)
screen.set_svg_region("svg");
screen.set_refresh_hz(50);
screen.set_size(1467, 1080);
- screen.set_visarea(0, 1467-1, 0, 1080-1);
+ screen.set_visarea_full();
TIMER(config, "display_decay").configure_periodic(FUNC(hh_sm510_state::display_decay_tick), attotime::from_msec(1));
@@ -7094,7 +7101,7 @@ void tnmarebc_state::tnmarebc(machine_config &config)
screen.set_svg_region("svg");
screen.set_refresh_hz(50);
screen.set_size(1456, 1080);
- screen.set_visarea(0, 1456-1, 0, 1080-1);
+ screen.set_visarea_full();
TIMER(config, "display_decay").configure_periodic(FUNC(hh_sm510_state::display_decay_tick), attotime::from_msec(1));
@@ -7198,7 +7205,7 @@ void ttransf2_state::ttransf2(machine_config &config)
screen.set_svg_region("svg");
screen.set_refresh_hz(50);
screen.set_size(1476, 1080);
- screen.set_visarea(0, 1476-1, 0, 1080-1);
+ screen.set_visarea_full();
TIMER(config, "display_decay").configure_periodic(FUNC(hh_sm510_state::display_decay_tick), attotime::from_msec(1));
@@ -7298,7 +7305,7 @@ void topaliens_state::topaliens(machine_config &config)
screen.set_svg_region("svg");
screen.set_refresh_hz(50);
screen.set_size(1450, 1080);
- screen.set_visarea(0, 1450-1, 0, 1080-1);
+ screen.set_visarea_full();
TIMER(config, "display_decay").configure_periodic(FUNC(hh_sm510_state::display_decay_tick), attotime::from_msec(1));
@@ -7403,7 +7410,7 @@ void tmkombat_state::tmkombat(machine_config &config)
screen.set_svg_region("svg");
screen.set_refresh_hz(50);
screen.set_size(1468, 1080);
- screen.set_visarea(0, 1468-1, 0, 1080-1);
+ screen.set_visarea_full();
TIMER(config, "display_decay").configure_periodic(FUNC(hh_sm510_state::display_decay_tick), attotime::from_msec(1));
@@ -7507,7 +7514,7 @@ void tshadow_state::tshadow(machine_config &config)
screen.set_svg_region("svg");
screen.set_refresh_hz(50);
screen.set_size(1484, 1080);
- screen.set_visarea(0, 1484-1, 0, 1080-1);
+ screen.set_visarea_full();
TIMER(config, "display_decay").configure_periodic(FUNC(hh_sm510_state::display_decay_tick), attotime::from_msec(1));
@@ -7611,7 +7618,7 @@ void tskelwarr_state::tskelwarr(machine_config &config)
screen.set_svg_region("svg");
screen.set_refresh_hz(50);
screen.set_size(1444, 1080);
- screen.set_visarea(0, 1444-1, 0, 1080-1);
+ screen.set_visarea_full();
TIMER(config, "display_decay").configure_periodic(FUNC(hh_sm510_state::display_decay_tick), attotime::from_msec(1));
@@ -7716,7 +7723,7 @@ void tbatfor_state::tbatfor(machine_config &config)
screen.set_svg_region("svg");
screen.set_refresh_hz(50);
screen.set_size(1493, 1080);
- screen.set_visarea(0, 1493-1, 0, 1080-1);
+ screen.set_visarea_full();
TIMER(config, "display_decay").configure_periodic(FUNC(hh_sm510_state::display_decay_tick), attotime::from_msec(1));
@@ -7821,7 +7828,7 @@ void tjdredd_state::tjdredd(machine_config &config)
screen.set_svg_region("svg");
screen.set_refresh_hz(50);
screen.set_size(1444, 1080);
- screen.set_visarea(0, 1444-1, 0, 1080-1);
+ screen.set_visarea_full();
TIMER(config, "display_decay").configure_periodic(FUNC(hh_sm510_state::display_decay_tick), attotime::from_msec(1));
@@ -7926,7 +7933,7 @@ void tapollo13_state::tapollo13(machine_config &config)
screen.set_svg_region("svg");
screen.set_refresh_hz(50);
screen.set_size(1467, 1080);
- screen.set_visarea(0, 1467-1, 0, 1080-1);
+ screen.set_visarea_full();
TIMER(config, "display_decay").configure_periodic(FUNC(hh_sm510_state::display_decay_tick), attotime::from_msec(1));
@@ -8031,7 +8038,7 @@ void tgoldeye_state::tgoldeye(machine_config &config)
screen.set_svg_region("svg");
screen.set_refresh_hz(50);
screen.set_size(1461, 1080);
- screen.set_visarea(0, 1461-1, 0, 1080-1);
+ screen.set_visarea_full();
TIMER(config, "display_decay").configure_periodic(FUNC(hh_sm510_state::display_decay_tick), attotime::from_msec(1));
@@ -8131,7 +8138,7 @@ void tsjam_state::tsjam(machine_config &config)
screen.set_svg_region("svg");
screen.set_refresh_hz(50);
screen.set_size(1421, 1080);
- screen.set_visarea(0, 1421-1, 0, 1080-1);
+ screen.set_visarea_full();
TIMER(config, "display_decay").configure_periodic(FUNC(hh_sm510_state::display_decay_tick), attotime::from_msec(1));
@@ -8231,7 +8238,7 @@ void tinday_state::tinday(machine_config &config)
screen.set_svg_region("svg");
screen.set_refresh_hz(50);
screen.set_size(1463, 1080);
- screen.set_visarea(0, 1463-1, 0, 1080-1);
+ screen.set_visarea_full();
TIMER(config, "display_decay").configure_periodic(FUNC(hh_sm510_state::display_decay_tick), attotime::from_msec(1));
@@ -8330,7 +8337,8 @@ void tbatmana_state::tbatmana(machine_config &config)
screen.set_svg_region("svg");
screen.set_refresh_hz(50);
screen.set_size(1478, 1080);
- screen.set_visarea(0, 1478-1, 0, 1080-1);
+ screen.set_visarea_full();
+
TIMER(config, "display_decay").configure_periodic(FUNC(hh_sm510_state::display_decay_tick), attotime::from_msec(1));
/* sound hardware */
@@ -8444,7 +8452,7 @@ void tigarden_state::tigarden(machine_config &config)
screen.set_svg_region("svg");
screen.set_refresh_hz(50);
screen.set_size(1515, 1080);
- screen.set_visarea(0, 1515-1, 0, 1080-1);
+ screen.set_visarea_full();
TIMER(config, "display_decay").configure_periodic(FUNC(hh_sm510_state::display_decay_tick), attotime::from_msec(1));
@@ -8552,7 +8560,7 @@ void nummunch_state::nummunch(machine_config &config)
screen.set_svg_region("svg");
screen.set_refresh_hz(50);
screen.set_size(1920, 875);
- screen.set_visarea(0, 1920-1, 0, 875-1);
+ screen.set_visarea_full();
TIMER(config, "display_decay").configure_periodic(FUNC(hh_sm510_state::display_decay_tick), attotime::from_msec(1));
diff --git a/src/mame/drivers/hh_tms1k.cpp b/src/mame/drivers/hh_tms1k.cpp
index 6a24ae76eb3..72800bb84fc 100644
--- a/src/mame/drivers/hh_tms1k.cpp
+++ b/src/mame/drivers/hh_tms1k.cpp
@@ -3844,6 +3844,7 @@ void einvader_state::einvader(machine_config &config)
screen.set_refresh_hz(50);
screen.set_size(939, 1080);
screen.set_visarea_full();
+
TIMER(config, "display_decay").configure_periodic(FUNC(hh_tms1k_state::display_decay_tick), attotime::from_msec(1));
config.set_default_layout(layout_einvader);
@@ -4941,6 +4942,7 @@ void ginv1000_state::ginv1000(machine_config &config)
screen.set_refresh_hz(50);
screen.set_size(226, 1080);
screen.set_visarea_full();
+
TIMER(config, "display_decay").configure_periodic(FUNC(hh_tms1k_state::display_decay_tick), attotime::from_msec(1));
/* sound hardware */
@@ -5092,6 +5094,7 @@ void ginv2000_state::ginv2000(machine_config &config)
screen.set_refresh_hz(50);
screen.set_size(364, 1080);
screen.set_visarea_full();
+
TIMER(config, "display_decay").configure_periodic(FUNC(hh_tms1k_state::display_decay_tick), attotime::from_msec(1));
/* sound hardware */
diff --git a/src/mame/drivers/hh_ucom4.cpp b/src/mame/drivers/hh_ucom4.cpp
index 89957e215f2..a0f4da1952e 100644
--- a/src/mame/drivers/hh_ucom4.cpp
+++ b/src/mame/drivers/hh_ucom4.cpp
@@ -354,7 +354,8 @@ void ufombs_state::ufombs(machine_config &config)
screen.set_svg_region("svg");
screen.set_refresh_hz(50);
screen.set_size(243, 1080);
- screen.set_visarea(0, 243-1, 0, 1080-1);
+ screen.set_visarea_full();
+
TIMER(config, "display_decay").configure_periodic(FUNC(hh_ucom4_state::display_decay_tick), attotime::from_msec(1));
/* sound hardware */
@@ -511,7 +512,8 @@ void ssfball_state::ssfball(machine_config &config)
screen.set_svg_region("svg");
screen.set_refresh_hz(50);
screen.set_size(1920, 482);
- screen.set_visarea(0, 1920-1, 0, 482-1);
+ screen.set_visarea_full();
+
TIMER(config, "display_decay").configure_periodic(FUNC(hh_ucom4_state::display_decay_tick), attotime::from_msec(1));
/* sound hardware */
@@ -657,7 +659,8 @@ void bmsoccer_state::bmsoccer(machine_config &config)
screen.set_svg_region("svg");
screen.set_refresh_hz(50);
screen.set_size(271, 1080);
- screen.set_visarea(0, 271-1, 0, 1080-1);
+ screen.set_visarea_full();
+
TIMER(config, "display_decay").configure_periodic(FUNC(hh_ucom4_state::display_decay_tick), attotime::from_msec(1));
/* sound hardware */
@@ -774,7 +777,8 @@ void bmsafari_state::bmsafari(machine_config &config)
screen.set_svg_region("svg");
screen.set_refresh_hz(50);
screen.set_size(248, 1080);
- screen.set_visarea(0, 248-1, 0, 1080-1);
+ screen.set_visarea_full();
+
TIMER(config, "display_decay").configure_periodic(FUNC(hh_ucom4_state::display_decay_tick), attotime::from_msec(1));
/* sound hardware */
@@ -935,7 +939,8 @@ void splasfgt_state::splasfgt(machine_config &config)
screen.set_svg_region("svg");
screen.set_refresh_hz(50);
screen.set_size(1920, 476);
- screen.set_visarea(0, 1920-1, 0, 476-1);
+ screen.set_visarea_full();
+
TIMER(config, "display_decay").configure_periodic(FUNC(hh_ucom4_state::display_decay_tick), attotime::from_msec(1));
/* sound hardware */
@@ -1049,7 +1054,8 @@ void bcclimbr_state::bcclimbr(machine_config &config)
screen.set_svg_region("svg");
screen.set_refresh_hz(50);
screen.set_size(310, 1080);
- screen.set_visarea(0, 310-1, 0, 1080-1);
+ screen.set_visarea_full();
+
TIMER(config, "display_decay").configure_periodic(FUNC(hh_ucom4_state::display_decay_tick), attotime::from_msec(1));
/* sound hardware */
@@ -1283,7 +1289,8 @@ void invspace_state::invspace(machine_config &config)
screen.set_svg_region("svg");
screen.set_refresh_hz(50);
screen.set_size(289, 1080);
- screen.set_visarea(0, 289-1, 0, 1080-1);
+ screen.set_visarea_full();
+
TIMER(config, "display_decay").configure_periodic(FUNC(hh_ucom4_state::display_decay_tick), attotime::from_msec(1));
/* sound hardware */
@@ -1516,7 +1523,8 @@ void galaxy2_state::galaxy2(machine_config &config)
screen.set_svg_region("svg");
screen.set_refresh_hz(50);
screen.set_size(304, 1080);
- screen.set_visarea(0, 304-1, 0, 1080-1);
+ screen.set_visarea_full();
+
TIMER(config, "display_decay").configure_periodic(FUNC(hh_ucom4_state::display_decay_tick), attotime::from_msec(1));
/* sound hardware */
@@ -1532,7 +1540,7 @@ void galaxy2_state::galaxy2b(machine_config &config)
/* video hardware */
screen_device *screen = subdevice<screen_device>("screen");
screen->set_size(306, 1080);
- screen->set_visarea(0, 306-1, 0, 1080-1);
+ screen->set_visarea_full();
}
// roms
@@ -1654,7 +1662,8 @@ void astrocmd_state::astrocmd(machine_config &config)
screen.set_svg_region("svg");
screen.set_refresh_hz(50);
screen.set_size(1920, 525);
- screen.set_visarea(0, 1920-1, 0, 525-1);
+ screen.set_visarea_full();
+
TIMER(config, "display_decay").configure_periodic(FUNC(hh_ucom4_state::display_decay_tick), attotime::from_msec(1));
/* sound hardware */
@@ -1760,7 +1769,8 @@ void edracula_state::edracula(machine_config &config)
screen.set_svg_region("svg");
screen.set_refresh_hz(50);
screen.set_size(1920, 526);
- screen.set_visarea(0, 1920-1, 0, 526-1);
+ screen.set_visarea_full();
+
TIMER(config, "display_decay").configure_periodic(FUNC(hh_ucom4_state::display_decay_tick), attotime::from_msec(1));
/* sound hardware */
@@ -2184,7 +2194,8 @@ void tccombat_state::tccombat(machine_config &config)
screen.set_svg_region("svg");
screen.set_refresh_hz(50);
screen.set_size(300, 1080);
- screen.set_visarea(0, 300-1, 0, 1080-1);
+ screen.set_visarea_full();
+
TIMER(config, "display_decay").configure_periodic(FUNC(hh_ucom4_state::display_decay_tick), attotime::from_msec(1));
/* sound hardware */
@@ -2347,7 +2358,7 @@ void tmtennis_state::tmtennis(machine_config &config)
screen.set_svg_region("svg");
screen.set_refresh_hz(50);
screen.set_size(1920, 417);
- screen.set_visarea(0, 1920-1, 0, 417-1);
+ screen.set_visarea_full();
TIMER(config, "display_decay").configure_periodic(FUNC(hh_ucom4_state::display_decay_tick), attotime::from_msec(1));
config.set_default_layout(layout_tmtennis);
@@ -2468,7 +2479,8 @@ void tmpacman_state::tmpacman(machine_config &config)
screen.set_svg_region("svg");
screen.set_refresh_hz(50);
screen.set_size(1920, 508);
- screen.set_visarea(0, 1920-1, 0, 508-1);
+ screen.set_visarea_full();
+
TIMER(config, "display_decay").configure_periodic(FUNC(hh_ucom4_state::display_decay_tick), attotime::from_msec(1));
/* sound hardware */
@@ -2581,7 +2593,8 @@ void tmscramb_state::tmscramb(machine_config &config)
screen.set_svg_region("svg");
screen.set_refresh_hz(50);
screen.set_size(1920, 556);
- screen.set_visarea(0, 1920-1, 0, 556-1);
+ screen.set_visarea_full();
+
TIMER(config, "display_decay").configure_periodic(FUNC(hh_ucom4_state::display_decay_tick), attotime::from_msec(1));
/* sound hardware */
@@ -2690,7 +2703,8 @@ void tcaveman_state::tcaveman(machine_config &config)
screen.set_svg_region("svg");
screen.set_refresh_hz(50);
screen.set_size(1920, 559);
- screen.set_visarea(0, 1920-1, 0, 559-1);
+ screen.set_visarea_full();
+
TIMER(config, "display_decay").configure_periodic(FUNC(hh_ucom4_state::display_decay_tick), attotime::from_msec(1));
/* sound hardware */
@@ -2833,7 +2847,8 @@ void alnchase_state::alnchase(machine_config &config)
screen.set_svg_region("svg");
screen.set_refresh_hz(50);
screen.set_size(365, 1080);
- screen.set_visarea(0, 365-1, 0, 1080-1);
+ screen.set_visarea_full();
+
TIMER(config, "display_decay").configure_periodic(FUNC(hh_ucom4_state::display_decay_tick), attotime::from_msec(1));
/* sound hardware */