summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus/hp9845_io/hp9845_io.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/bus/hp9845_io/hp9845_io.cpp')
-rw-r--r--src/devices/bus/hp9845_io/hp9845_io.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/devices/bus/hp9845_io/hp9845_io.cpp b/src/devices/bus/hp9845_io/hp9845_io.cpp
index 86e948cb5d3..209fb19167d 100644
--- a/src/devices/bus/hp9845_io/hp9845_io.cpp
+++ b/src/devices/bus/hp9845_io/hp9845_io.cpp
@@ -74,7 +74,7 @@ void hp9845_io_card_device::flg_w(int state)
void hp9845_io_card_device::install_readwrite_handler(read16_delegate rhandler, write16_delegate whandler)
{
if (m_sys == nullptr) {
- m_sys = dynamic_cast<hp9845b_state*>(&machine().root_device());
+ m_sys = dynamic_cast<hp9845_base_state*>(&machine().root_device());
//printf("m_sys=%p\n" , m_sys);
m_sys->install_readwrite_handler(m_my_sc , rhandler, whandler);
}