From fbf2c3fe955fb76daf02b372fe53440bd24b23ca Mon Sep 17 00:00:00 2001 From: Olivier Galibert Date: Thu, 19 Jan 2023 16:34:31 +0100 Subject: stvideo: appease listxml by protecting the setting with has_screen --- src/mame/atari/stvideo.cpp | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/mame/atari/stvideo.cpp b/src/mame/atari/stvideo.cpp index e28995330c2..228a7273486 100644 --- a/src/mame/atari/stvideo.cpp +++ b/src/mame/atari/stvideo.cpp @@ -291,12 +291,8 @@ st_video_device::st_video_device(const machine_config &mconfig, const char *tag, void st_video_device::device_config_complete() { - // screen().set_raw(clock()/2, 512*2, 28*2, 450*2, 313, 34, 292); - // screen().set_raw(clock()/2, 508*2, 24*2, 450*2, 263, 14, 236); - - screen().set_raw(clock()/2, 512*2, 28*2, 450*2, 313, 34, 292); - - // screen().set_raw(clock(), 1024, 0, 1023, 512, 0, 511); + if(has_screen()) + screen().set_raw(clock()/2, 512*2, 28*2, 450*2, 313, 34, 292); } void st_video_device::device_start() -- cgit v1.2.3