summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/video/hd44780.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/video/hd44780.h')
-rw-r--r--src/devices/video/hd44780.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/devices/video/hd44780.h b/src/devices/video/hd44780.h
index ec45d0005d1..71b88f6f6b4 100644
--- a/src/devices/video/hd44780.h
+++ b/src/devices/video/hd44780.h
@@ -32,6 +32,7 @@ public:
// static configuration helpers
void set_lcd_size(int lines, int chars) { m_lines = lines; m_chars = chars; }
template <typename... T> void set_pixel_update_cb(T &&... args) { m_pixel_update_cb.set(std::forward<T>(args)...); }
+ void set_busy_factor(float f) { m_busy_factor = f; } // it's a workaround for inaccurate busy flag emulation
// device interface
void write(offs_t offset, u8 data);
@@ -103,6 +104,7 @@ private:
u8 m_chars; // chars for line
pixel_update_delegate m_pixel_update_cb; // pixel update callback
+ float m_busy_factor;
bool m_busy_flag; // busy flag
u8 m_ddram[0x80]; // internal display data RAM
u8 m_cgram[0x40]; // internal chargen RAM