diff options
author | 2021-09-28 19:48:10 +1000 | |
---|---|---|
committer | 2021-09-28 19:48:10 +1000 | |
commit | 9c9b2f30bb67deefbfd869138e66d24bf277ebf1 (patch) | |
tree | e80413b96c44804155c20fc973b90f8939a8b1e9 /src/mame/drivers/apple2.cpp | |
parent | 925646674ca492fcf01b3866085eb4cc734ee6fe (diff) | |
parent | 6b1057f205525c2de070b7002f91e063d5f6d074 (diff) |
Merge remote-tracking branch 'upstream/master'
Diffstat (limited to 'src/mame/drivers/apple2.cpp')
-rw-r--r-- | src/mame/drivers/apple2.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mame/drivers/apple2.cpp b/src/mame/drivers/apple2.cpp index d43eb3fa842..6020af74499 100644 --- a/src/mame/drivers/apple2.cpp +++ b/src/mame/drivers/apple2.cpp @@ -678,19 +678,19 @@ u8 apple2_state::controller_strobe_r() void apple2_state::controller_strobe_w(u8 data) { // 558 monostable one-shot timers; a running timer cannot be restarted - if (machine().time().as_double() >= m_joystick_x1_time) + if (machine().time().as_double() >= m_joystick_x1_time) { m_joystick_x1_time = machine().time().as_double() + m_x_calibration * m_gameio->pdl0_r(); } - if (machine().time().as_double() >= m_joystick_y1_time) + if (machine().time().as_double() >= m_joystick_y1_time) { m_joystick_y1_time = machine().time().as_double() + m_y_calibration * m_gameio->pdl1_r(); } - if (machine().time().as_double() >= m_joystick_x2_time) + if (machine().time().as_double() >= m_joystick_x2_time) { m_joystick_x2_time = machine().time().as_double() + m_x_calibration * m_gameio->pdl2_r(); } - if (machine().time().as_double() >= m_joystick_y2_time) + if (machine().time().as_double() >= m_joystick_y2_time) { m_joystick_y2_time = machine().time().as_double() + m_y_calibration * m_gameio->pdl3_r(); } |