summaryrefslogtreecommitdiffstatshomepage
path: root/src/mess/drivers/instruct.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mess/drivers/instruct.c')
-rw-r--r--src/mess/drivers/instruct.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/mess/drivers/instruct.c b/src/mess/drivers/instruct.c
index fe00f887276..22214616d31 100644
--- a/src/mess/drivers/instruct.c
+++ b/src/mess/drivers/instruct.c
@@ -70,6 +70,7 @@ public:
DECLARE_WRITE8_MEMBER(portf8_w);
DECLARE_WRITE8_MEMBER(portf9_w);
DECLARE_WRITE8_MEMBER(portfa_w);
+ DECLARE_QUICKLOAD_LOAD_MEMBER( instruct );
virtual void machine_reset();
UINT8 m_digit;
bool m_valid_digit;
@@ -216,7 +217,7 @@ void instruct_state::machine_reset()
memcpy(m_p_ram, ROM+0x1800, 0x0200);
}
-QUICKLOAD_LOAD( instruct )
+QUICKLOAD_LOAD_MEMBER( instruct_state, instruct )
{
address_space &space = image.device().machine().device("maincpu")->memory().space(AS_PROGRAM);
int i;
@@ -296,7 +297,7 @@ static MACHINE_CONFIG_START( instruct, instruct_state )
MCFG_DEFAULT_LAYOUT(layout_instruct)
/* quickload */
- MCFG_QUICKLOAD_ADD("quickload", instruct, "pgm", 1)
+ MCFG_QUICKLOAD_ADD("quickload", instruct_state, instruct, "pgm", 1)
/* cassette */
MCFG_CASSETTE_ADD( "cassette", default_cassette_interface )