| 25 | } |
| 26 | |
| 27 | void VisualizerDisplayWidget::draw() { |
| 28 | if (!guiEmuValid) { |
| 29 | return; |
| 30 | } |
| 31 | |
| 32 | emu_set_lcd_ptrs(&m_data, &m_data_end, m_width, m_height, m_upbase, m_control, false); |
| 33 | emu_lcd_drawmem(m_image->bits(), m_data, m_data_end, m_control, m_size); |
| 34 | update(); |
| 35 | } |
| 36 | |
| 37 | void VisualizerDisplayWidget::paintEvent(QPaintEvent*) { |
| 38 | if (!guiEmuValid) { |
nothing calls this directly
no test coverage detected