mirror of
https://github.com/holub/mame
synced 2025-06-27 06:39:03 +03:00
tms9995.cpp: initialized one variable which caused crashes in formula1.cpp.
This commit is contained in:
parent
5352cdbc5e
commit
9c36ee3d9d
@ -220,6 +220,8 @@ void tms9995_device::device_start()
|
|||||||
|
|
||||||
m_source_value = 0;
|
m_source_value = 0;
|
||||||
|
|
||||||
|
m_index = 0;
|
||||||
|
|
||||||
// add the states for the debugger
|
// add the states for the debugger
|
||||||
for (int i=0; i < 20; i++)
|
for (int i=0; i < 20; i++)
|
||||||
{
|
{
|
||||||
@ -242,7 +244,7 @@ void tms9995_device::device_start()
|
|||||||
save_item(NAME(PC));
|
save_item(NAME(PC));
|
||||||
save_item(NAME(ST));
|
save_item(NAME(ST));
|
||||||
// save_item(NAME(PC_debug)); // only for debugger output
|
// save_item(NAME(PC_debug)); // only for debugger output
|
||||||
save_pointer(NAME(m_onchip_memory),256);
|
save_item(NAME(m_onchip_memory));
|
||||||
save_item(NAME(m_idle_state));
|
save_item(NAME(m_idle_state));
|
||||||
save_item(NAME(m_nmi_state));
|
save_item(NAME(m_nmi_state));
|
||||||
save_item(NAME(m_hold_state));
|
save_item(NAME(m_hold_state));
|
||||||
@ -285,7 +287,7 @@ void tms9995_device::device_start()
|
|||||||
save_item(NAME(m_cru_address));
|
save_item(NAME(m_cru_address));
|
||||||
save_item(NAME(m_cru_value));
|
save_item(NAME(m_cru_value));
|
||||||
save_item(NAME(m_cru_first_read));
|
save_item(NAME(m_cru_first_read));
|
||||||
save_pointer(NAME(m_flag),16);
|
save_item(NAME(m_flag));
|
||||||
save_item(NAME(IR));
|
save_item(NAME(IR));
|
||||||
save_item(NAME(m_pre_IR));
|
save_item(NAME(m_pre_IR));
|
||||||
save_item(NAME(m_command));
|
save_item(NAME(m_command));
|
||||||
|
Loading…
Reference in New Issue
Block a user