diff options
author | AJR <ajrhacker@users.noreply.github.com> | 2019-04-17 09:27:44 -0400 |
---|---|---|
committer | AJR <ajrhacker@users.noreply.github.com> | 2019-04-17 09:27:44 -0400 |
commit | 83f7c54d3b696697187652d36d7c89d75b45d888 (patch) | |
tree | b7f921b499cb6ac901307761599d43d3abf0b5ff | |
parent | 1b4d25fdba7b4aa7297841076ff4b56624385920 (diff) |
cdi: Safety first (nw)
-rw-r--r-- | src/mame/drivers/cdi.cpp | 2 |
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); |