summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/imagedev
diff options
context:
space:
mode:
Diffstat (limited to 'src/emu/imagedev')
-rw-r--r--src/emu/imagedev/flopdrv.c7
-rw-r--r--src/emu/imagedev/harddriv.h10
2 files changed, 8 insertions, 9 deletions
diff --git a/src/emu/imagedev/flopdrv.c b/src/emu/imagedev/flopdrv.c
index 5980bb9aeea..8bb9aedc535 100644
--- a/src/emu/imagedev/flopdrv.c
+++ b/src/emu/imagedev/flopdrv.c
@@ -206,7 +206,7 @@ void legacy_floppy_image_device::floppy_drive_set_flag_state(int flag, int state
a fixed set of circumstances */
/* use this to set ready state of drive */
void legacy_floppy_image_device::floppy_drive_set_ready_state(int state, int flag)
-{
+{
if (flag)
{
/* set ready only if drive is present, disk is in the drive,
@@ -252,7 +252,7 @@ int legacy_floppy_image_device::floppy_drive_get_flag_state(int flag)
void legacy_floppy_image_device::floppy_drive_seek(signed int signed_tracks)
-{
+{
LOG(("seek from: %d delta: %d\n",m_current_track, signed_tracks));
/* update position */
@@ -432,7 +432,7 @@ int legacy_floppy_image_device::internal_floppy_device_load(int create_format, o
const char *extension;
device_image_interface *image = NULL;
- interface(image); /* figure out the floppy options */
+ interface(image); /* figure out the floppy options */
floppy_options = ((floppy_interface*)static_config())->formats;
if (has_been_created())
@@ -621,7 +621,6 @@ WRITE_LINE_MEMBER( legacy_floppy_image_device::floppy_wtd_w )
/* step */
WRITE_LINE_MEMBER( legacy_floppy_image_device::floppy_stp_w )
{
-
/* move head one track when going from high to low and write gate is high */
if (m_active && m_stp && state == CLEAR_LINE && m_wtg)
{
diff --git a/src/emu/imagedev/harddriv.h b/src/emu/imagedev/harddriv.h
index 1555caea912..33f019a8460 100644
--- a/src/emu/imagedev/harddriv.h
+++ b/src/emu/imagedev/harddriv.h
@@ -36,7 +36,7 @@ public:
void set_device_load(device_image_load_delegate _load) { m_device_image_load = _load; }
void set_device_unload(device_image_func_delegate _unload) { m_device_image_unload = _unload; }
-
+
// image-level overrides
virtual bool call_load();
virtual bool call_create(int create_format, option_resolution *create_args);
@@ -71,9 +71,9 @@ protected:
chd_file m_origchd; /* handle to the original CHD */
chd_file m_diffchd; /* handle to the diff CHD */
hard_disk_file *m_hard_disk_handle;
-
+
device_image_load_delegate m_device_image_load;
- device_image_func_delegate m_device_image_unload;
+ device_image_func_delegate m_device_image_unload;
};
// device type definition
@@ -88,11 +88,11 @@ extern const device_type HARDDISK;
#define MCFG_HARDDISK_CONFIG_ADD(_tag,_config) \
MCFG_DEVICE_ADD(_tag, HARDDISK, 0) \
MCFG_DEVICE_CONFIG(_config)
-
+
#define MCFG_HARDDISK_LOAD(_class,_load) \
static_cast<harddisk_image_device *>(device)->set_device_load( DEVICE_IMAGE_LOAD_DELEGATE(_class,_load));
#define MCFG_HARDDISK_UNLOAD(_class,_unload) \
static_cast<harddisk_image_device *>(device)->set_device_unload( DEVICE_IMAGE_UNLOAD_DELEGATE(_class,_unload));
-
+
#endif /* HARDDRIV_H */