summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/machine/swim2.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/machine/swim2.cpp')
-rw-r--r--src/devices/machine/swim2.cpp11
1 files changed, 4 insertions, 7 deletions
diff --git a/src/devices/machine/swim2.cpp b/src/devices/machine/swim2.cpp
index c4b8ee387f4..70a1950bbbd 100644
--- a/src/devices/machine/swim2.cpp
+++ b/src/devices/machine/swim2.cpp
@@ -9,8 +9,8 @@
#include "emu.h"
#include "swim2.h"
-#define LOG_SETUP (1 << 1U)
-#define LOG_MODE (1 << 2U)
+#define LOG_SETUP (1U << 1)
+#define LOG_MODE (1U << 2)
#define VERBOSE 0
#include "logmacro.h"
@@ -20,7 +20,8 @@
DEFINE_DEVICE_TYPE(SWIM2, swim2_device, "swim2", "Apple SWIM2 (Sander/Wozniak Integrated Machine) version 2 floppy controller")
swim2_device::swim2_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock) :
- applefdintf_device(mconfig, SWIM2, tag, owner, clock)
+ applefdintf_device(mconfig, SWIM2, tag, owner, clock),
+ m_floppy(nullptr)
{
}
@@ -78,10 +79,6 @@ void swim2_device::device_reset()
m_last_sync = machine().time().as_ticks(clock());
}
-void swim2_device::device_timer(emu_timer &, device_timer_id, int, void *)
-{
-}
-
void swim2_device::set_floppy(floppy_image_device *floppy)
{
if(m_floppy == floppy)