summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/imagedev/flopdrv.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/imagedev/flopdrv.cpp')
-rw-r--r--src/devices/imagedev/flopdrv.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/devices/imagedev/flopdrv.cpp b/src/devices/imagedev/flopdrv.cpp
index ad0884d3379..cab64aebe6c 100644
--- a/src/devices/imagedev/flopdrv.cpp
+++ b/src/devices/imagedev/flopdrv.cpp
@@ -355,7 +355,7 @@ void legacy_floppy_image_device::floppy_drive_read_sector_data(int side, int ind
floppy_read_indexed_sector(m_floppy, side, m_track, index1, 0, ptr, length);
- if (LOG_FLOPPY)
+ if (IS_ENABLED(LOG_FLOPPY))
log_readwrite("sector_read", side, m_track, index1, (const char *)ptr, length);
}
@@ -368,7 +368,7 @@ void legacy_floppy_image_device::floppy_drive_write_sector_data(int side, int in
if (!m_floppy)
return;
- if (LOG_FLOPPY)
+ if (IS_ENABLED(LOG_FLOPPY))
log_readwrite("sector_write", side, m_track, index1, (const char *)ptr, length);
floppy_write_indexed_sector(m_floppy, side, m_track, index1, 0, ptr, length, ddam);