diff --git a/src/mame/sharp/x1.h b/src/mame/sharp/x1.h index 31bd1a98ed6..91c0b82831b 100644 --- a/src/mame/sharp/x1.h +++ b/src/mame/sharp/x1.h @@ -2,7 +2,7 @@ // copyright-holders:Angelo Salese, Barry Rodewald /***************************************************************************** * - * includes/x1.h + * sharp/x1.h * ****************************************************************************/ @@ -187,6 +187,7 @@ public: void x1_mem(address_map &map); void x1turbo_io_banks(address_map &map); void x1turbo_mem(address_map &map); + protected: struct scrn_reg_t { @@ -250,7 +251,7 @@ protected: turbo_reg_t m_turbo_reg; /**< Turbo Z Video Registers. */ x1_rtc_t m_rtc; /**< Struct for RTC related variables */ emu_timer *m_rtc_timer = nullptr; /**< Pointer for RTC timer. */ - emu_timer *m_motor_timer = nullptr; /**< Pointer for RTC timer. */ + emu_timer *m_motor_timer = nullptr; /**< Pointer for FDC motor timer. */ uint8_t m_pcg_write_addr = 0; /**< @todo Unused variable. */ uint8_t m_sub_cmd = 0; /**< MCU side: current command issued from Main to Sub. */ uint8_t m_sub_cmd_length = 0; /**< MCU side: number of parameters, in bytes. */ diff --git a/src/mame/sharp/x1twin.cpp b/src/mame/sharp/x1twin.cpp index 80bed757305..c4088e30603 100644 --- a/src/mame/sharp/x1twin.cpp +++ b/src/mame/sharp/x1twin.cpp @@ -35,8 +35,8 @@ namespace { class x1twin_state : public x1_state { public: - x1twin_state(const machine_config &mconfig, device_type type, const char *tag) - : x1_state(mconfig, type, tag) + x1twin_state(const machine_config &mconfig, device_type type, const char *tag) : + x1_state(mconfig, type, tag) { } void x1twin(machine_config &config); @@ -483,8 +483,6 @@ void x1twin_state::x1twin(machine_config &config) GFXDECODE(config, m_gfxdecode, m_palette, gfx_x1); MB8877(config, m_fdc, MAIN_CLOCK / 16); - // TODO: guesswork, try to implicitly start the motor - m_fdc->hld_wr_callback().set(FUNC(x1_state::hdl_w)); FLOPPY_CONNECTOR(config, "fdc:0", x1_floppies, "dd", x1_state::floppy_formats); FLOPPY_CONNECTOR(config, "fdc:1", x1_floppies, "dd", x1_state::floppy_formats);