tms9995.cpp: initialized one variable which caused crashes in formula1.cpp.

This commit is contained in:
Ivan Vangelista 2020-09-29 15:06:31 +02:00 committed by GitHub
parent 5352cdbc5e
commit 9c36ee3d9d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -220,6 +220,8 @@ void tms9995_device::device_start()
m_source_value = 0;
m_index = 0;
// add the states for the debugger
for (int i=0; i < 20; i++)
{
@ -242,7 +244,7 @@ void tms9995_device::device_start()
save_item(NAME(PC));
save_item(NAME(ST));
// 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_nmi_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_value));
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(m_pre_IR));
save_item(NAME(m_command));