mirror of
https://github.com/holub/mame
synced 2025-04-23 17:00:53 +03:00
missed these (nw)
This commit is contained in:
parent
b90375bf65
commit
8ab4957f97
@ -555,7 +555,7 @@ void i80186_cpu_device::device_start()
|
||||
state_add( I8086_DS, "DS", m_sregs[DS] ).formatstr("%04X");
|
||||
state_add( I8086_VECTOR, "V", m_int_vector).formatstr("%02X");
|
||||
|
||||
state_add(STATE_GENPC, "PC", m_pc).formatstr("%05X");
|
||||
state_add(STATE_GENPC, "PC", m_pc).callimport().formatstr("%05X");
|
||||
state_add(STATE_GENPCBASE, "CURPC", m_pc).callimport().formatstr("%05X");
|
||||
|
||||
// register for savestates
|
||||
|
@ -273,11 +273,17 @@ void i80286_cpu_device::device_start()
|
||||
state_add( I286_MSW, "MSW", m_msw ).formatstr("%04X");
|
||||
state_add( I286_VECTOR, "V", m_int_vector).formatstr("%02X");
|
||||
|
||||
state_add(STATE_GENPC, "PC", m_pc).formatstr("%06X");
|
||||
state_add(STATE_GENPC, "PC", m_pc).callimport().formatstr("%06X");
|
||||
state_add(STATE_GENPCBASE, "CURPC", m_pc).callimport().formatstr("%06X");
|
||||
m_out_shutdown_func.resolve_safe();
|
||||
}
|
||||
|
||||
|
||||
//-------------------------------------------------
|
||||
// state_string_export - export state as a string
|
||||
// for the debugger
|
||||
//-------------------------------------------------
|
||||
|
||||
void i80286_cpu_device::state_string_export(const device_state_entry &entry, std::string &str) const
|
||||
{
|
||||
switch (entry.index())
|
||||
|
@ -273,7 +273,7 @@ void i8086_cpu_device::device_start()
|
||||
state_add( I8086_DS, "DS", m_sregs[DS] ).formatstr("%04X");
|
||||
state_add( I8086_VECTOR, "V", m_int_vector).formatstr("%02X");
|
||||
|
||||
state_add(STATE_GENPC, "PC", m_pc).formatstr("%05X");
|
||||
state_add(STATE_GENPC, "PC", m_pc).callimport().formatstr("%05X");
|
||||
state_add(STATE_GENPCBASE, "CURPC", m_pc).callimport().formatstr("%05X");
|
||||
}
|
||||
|
||||
@ -341,6 +341,12 @@ void i8086_common_cpu_device::state_import(const device_state_entry &entry)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
//-------------------------------------------------
|
||||
// state_string_export - export state as a string
|
||||
// for the debugger
|
||||
//-------------------------------------------------
|
||||
|
||||
void i8086_common_cpu_device::state_string_export(const device_state_entry &entry, std::string &str) const
|
||||
{
|
||||
switch (entry.index())
|
||||
|
Loading…
Reference in New Issue
Block a user