summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/cdi.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/cdi.cpp')
-rw-r--r--src/mame/drivers/cdi.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mame/drivers/cdi.cpp b/src/mame/drivers/cdi.cpp
index c6576ba87d8..94baae55947 100644
--- a/src/mame/drivers/cdi.cpp
+++ b/src/mame/drivers/cdi.cpp
@@ -781,7 +781,7 @@ static const uint16_t cdi220_lcd_char[20*22] =
void cdi_state::draw_lcd(int y)
{
- if (y >= 22)
+ if (y >= 22 || !m_slave_hle.found())
return;
uint32_t *scanline = &m_lcdbitmap.pix32(y);