summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/screen.cpp
diff options
context:
space:
mode:
author hap <happppp@users.noreply.github.com>2019-06-12 15:57:31 +0200
committer hap <happppp@users.noreply.github.com>2019-06-12 15:57:31 +0200
commit8c80fc4b4367c69bf0daea3c233f04e828b604d5 (patch)
tree566abcd28a9fc6382913a795a22c773cf485e3a3 /src/emu/screen.cpp
parenta599cad852626bb9ab2c5160dea5a08a09c43b3f (diff)
cking_master, cxg_ch2001: move from chessbase to screenless (nw)
Diffstat (limited to 'src/emu/screen.cpp')
-rw-r--r--src/emu/screen.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/emu/screen.cpp b/src/emu/screen.cpp
index ef9611f1999..103230ba114 100644
--- a/src/emu/screen.cpp
+++ b/src/emu/screen.cpp
@@ -546,7 +546,7 @@ screen_device::screen_device(const machine_config &mconfig, const char *tag, dev
, m_scanline_cb(*this)
, m_palette(*this, finder_base::DUMMY_TAG)
, m_video_attributes(0)
- , m_svg_region(nullptr)
+ , m_svg_region(tag)
, m_container(nullptr)
, m_width(100)
, m_height(100)
@@ -717,8 +717,6 @@ void screen_device::device_start()
if (m_type == SCREEN_TYPE_SVG)
{
- if (!m_svg_region)
- m_svg_region = basetag();
memory_region *reg = owner()->memregion(m_svg_region);
if (!reg)
fatalerror("%s: SVG region \"%s\" does not exist\n", tag(), m_svg_region);