mirror of
https://github.com/holub/mame
synced 2025-04-25 09:50:04 +03:00
reinstate lines removed in error (nw)
This commit is contained in:
parent
61be27c3cf
commit
f9acb0c97b
@ -4222,7 +4222,7 @@ void sh34_base_device::device_start()
|
||||
state_add(SH4_XF14, "XF14", m_debugger_temp).callimport().formatstr("%25s");
|
||||
state_add(SH4_XF15, "XF15", m_debugger_temp).callimport().formatstr("%25s");
|
||||
|
||||
state_add(STATE_GENPC, "GENPC", m_debugger_temp).callimport().noshow();
|
||||
state_add(STATE_GENPC, "GENPC", m_debugger_temp).callimport().callexport().noshow();
|
||||
state_add(STATE_GENPCBASE, "CURPC", m_ppc).noshow();
|
||||
state_add(STATE_GENSP, "GENSP", m_r[15]).noshow();
|
||||
state_add(STATE_GENFLAGS, "GENFLAGS", m_sr).formatstr("%20s").noshow();
|
||||
@ -4381,6 +4381,16 @@ void sh34_base_device::state_import(const device_state_entry &entry)
|
||||
}
|
||||
}
|
||||
|
||||
void sh34_base_device::state_export(const device_state_entry &entry)
|
||||
{
|
||||
switch (entry.index())
|
||||
{
|
||||
case STATE_GENPC:
|
||||
m_debugger_temp = (m_pc & AM);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
void sh34_base_device::state_string_export(const device_state_entry &entry, std::string &str) const
|
||||
{
|
||||
#ifdef LSB_FIRST
|
||||
|
@ -219,6 +219,7 @@ protected:
|
||||
|
||||
// device_state_interface overrides
|
||||
virtual void state_import(const device_state_entry &entry) override;
|
||||
virtual void state_export(const device_state_entry &entry) override;
|
||||
virtual void state_string_export(const device_state_entry &entry, std::string &str) const override;
|
||||
|
||||
// device_disasm_interface overrides
|
||||
|
Loading…
Reference in New Issue
Block a user