mirror of
https://github.com/holub/mame
synced 2025-10-05 08:41:31 +03:00
cdi: Safety first (nw)
This commit is contained in:
parent
1b4d25fdba
commit
83f7c54d3b
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user