diff options
Diffstat (limited to 'src/emu/netlist/plib/pstate.c')
-rw-r--r-- | src/emu/netlist/plib/pstate.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/emu/netlist/plib/pstate.c b/src/emu/netlist/plib/pstate.c index 07532032405..909bfcb2e58 100644 --- a/src/emu/netlist/plib/pstate.c +++ b/src/emu/netlist/plib/pstate.c @@ -33,7 +33,7 @@ ATTR_COLD void pstate_manager_t::save_state_ptr(const pstring &stname, const pst "DT_FLOAT" }; - pstate_entry_t *p = palloc(pstate_entry_t, stname, dt, owner, size, count, ptr, is_ptr); + pstate_entry_t *p = palloc(pstate_entry_t(stname, dt, owner, size, count, ptr, is_ptr)); m_save.add(p); } @@ -71,7 +71,8 @@ template<> ATTR_COLD void pstate_manager_t::save_item(pstate_callback_t &state, { //save_state_ptr(stname, DT_CUSTOM, 0, 1, &state); pstate_callback_t *state_p = &state; - pstate_entry_t *p = palloc(pstate_entry_t, stname, owner, state_p); + pstate_entry_t *p = palloc(pstate_entry_t(stname, owner, state_p)); m_save.add(p); state.register_state(*this, stname); } + |