summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--src/mame/drivers/apple2.cpp2
-rw-r--r--src/mame/drivers/apple2e.cpp1
2 files changed, 3 insertions, 0 deletions
diff --git a/src/mame/drivers/apple2.cpp b/src/mame/drivers/apple2.cpp
index 881667539f7..cd6f796b566 100644
--- a/src/mame/drivers/apple2.cpp
+++ b/src/mame/drivers/apple2.cpp
@@ -299,6 +299,8 @@ void apple2_state::machine_start()
m_ram_ptr[adr+1] = 0xff;
}
+ m_joystick_x1_time = m_joystick_x2_time = m_joystick_y1_time = m_joystick_y2_time = 0;
+
// setup save states
save_item(NAME(m_speaker_state));
save_item(NAME(m_cassette_state));
diff --git a/src/mame/drivers/apple2e.cpp b/src/mame/drivers/apple2e.cpp
index bbb941e5f0a..035de522358 100644
--- a/src/mame/drivers/apple2e.cpp
+++ b/src/mame/drivers/apple2e.cpp
@@ -1060,6 +1060,7 @@ void apple2e_state::machine_start()
m_next_strobe = 1U;
}
+ m_joystick_x1_time = m_joystick_x2_time = m_joystick_y1_time = m_joystick_y2_time = 0;
// setup save states
save_item(NAME(m_speaker_state));