summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--src/mame/drivers/mac128.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/mame/drivers/mac128.cpp b/src/mame/drivers/mac128.cpp
index c69e2402b31..c82a41e7448 100644
--- a/src/mame/drivers/mac128.cpp
+++ b/src/mame/drivers/mac128.cpp
@@ -588,7 +588,7 @@ void mac128_state::pwm_push(uint8_t data)
logerror("PWM index %3d duty cycle %5.1f%% rpm %f\n", internal_index, 100*duty_cycle, rpm);
#if NEW_IWM
- if (m_cur_floppy)
+ if (m_cur_floppy && m_cur_floppy->type() == OAD34V)
{
m_iwm->sync();
m_cur_floppy->set_rpm(rpm);
@@ -995,7 +995,8 @@ void mac128_state::devsel_w(uint8_t devsel)
if (m_cur_floppy)
{
m_cur_floppy->ss_w(m_hdsel);
- m_cur_floppy->set_rpm(m_pwm_current_rpm[1]);
+ if (m_cur_floppy->type() == OAD34V)
+ m_cur_floppy->set_rpm(m_pwm_current_rpm[1]);
}
}