summaryrefslogtreecommitdiffstatshomepage
path: root/src/mess/machine/hp48.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mess/machine/hp48.c')
-rw-r--r--src/mess/machine/hp48.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mess/machine/hp48.c b/src/mess/machine/hp48.c
index a14d9c78172..a40bb747bd9 100644
--- a/src/mess/machine/hp48.c
+++ b/src/mess/machine/hp48.c
@@ -1130,9 +1130,9 @@ void hp48_state::hp48_machine_start( hp48_models model )
save_item(NAME(m_bank_switch) );
for ( i = 0; i < 6; i++ )
{
- state_save_register_item(machine(), "globals", NULL, i, m_modules[i].state );
- state_save_register_item(machine(), "globals", NULL, i, m_modules[i].base );
- state_save_register_item(machine(), "globals", NULL, i, m_modules[i].mask );
+ save_item(m_modules[i].state, "globals/m_modules[i].state", i);
+ save_item(m_modules[i].base, "globals/m_modules[i].base", i);
+ save_item(m_modules[i].mask, "globals/m_modules[i].mask", i);
}
save_item(NAME(m_io) );
machine().save().register_postload( save_prepost_delegate(FUNC(hp48_state::hp48_update_annunciators), this ));