summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/imagedev
diff options
context:
space:
mode:
author Miodrag Milanovic <mmicko@gmail.com>2015-11-25 08:22:24 +0100
committer Miodrag Milanovic <mmicko@gmail.com>2015-11-25 08:22:24 +0100
commit0825ce4f3b8eaab42e3682f7d01d97ce6ea0416d (patch)
tree24de29ca8cbba68740ec8cd26f15209f19c2bf0b /src/devices/imagedev
parentd1d8a66ab196156ab22ba1059d714cd040b44ab6 (diff)
Cleanups and version bumpmame0168
Diffstat (limited to 'src/devices/imagedev')
-rw-r--r--src/devices/imagedev/cassette.cpp14
-rw-r--r--src/devices/imagedev/chd_cd.cpp8
-rw-r--r--src/devices/imagedev/flopdrv.cpp10
-rw-r--r--src/devices/imagedev/floppy.cpp68
-rw-r--r--src/devices/imagedev/mfmhd.cpp36
-rw-r--r--src/devices/imagedev/mfmhd.h2
-rw-r--r--src/devices/imagedev/midiin.cpp16
-rw-r--r--src/devices/imagedev/midiout.cpp6
-rw-r--r--src/devices/imagedev/snapquik.cpp12
9 files changed, 86 insertions, 86 deletions
diff --git a/src/devices/imagedev/cassette.cpp b/src/devices/imagedev/cassette.cpp
index 7b58d3e01cb..0df32b0ef9d 100644
--- a/src/devices/imagedev/cassette.cpp
+++ b/src/devices/imagedev/cassette.cpp
@@ -30,14 +30,14 @@ const device_type CASSETTE = &device_creator<cassette_image_device>;
cassette_image_device::cassette_image_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
: device_t(mconfig, CASSETTE, "Cassette", tag, owner, clock, "cassette_image", __FILE__),
- device_image_interface(mconfig, *this),
+ device_image_interface(mconfig, *this),
m_cassette(NULL),
- m_state(CASSETTE_STOPPED),
- m_position(0),
- m_position_time(0),
- m_value(0),
- m_channel(0),
- m_speed(0),
+ m_state(CASSETTE_STOPPED),
+ m_position(0),
+ m_position_time(0),
+ m_value(0),
+ m_channel(0),
+ m_speed(0),
m_direction(0),
m_formats(cassette_default_formats),
m_create_opts(NULL),
diff --git a/src/devices/imagedev/chd_cd.cpp b/src/devices/imagedev/chd_cd.cpp
index 429eafe4b4d..ca7898d14cd 100644
--- a/src/devices/imagedev/chd_cd.cpp
+++ b/src/devices/imagedev/chd_cd.cpp
@@ -28,16 +28,16 @@ const device_type CDROM = &device_creator<cdrom_image_device>;
cdrom_image_device::cdrom_image_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
: device_t(mconfig, CDROM, "CD-ROM Image", tag, owner, clock, "cdrom_image", __FILE__),
- device_image_interface(mconfig, *this),
- m_cdrom_handle(NULL),
- m_extension_list(NULL),
+ device_image_interface(mconfig, *this),
+ m_cdrom_handle(NULL),
+ m_extension_list(NULL),
m_interface(NULL)
{
}
cdrom_image_device::cdrom_image_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source)
: device_t(mconfig, type, name, tag, owner, clock, shortname, source),
- device_image_interface(mconfig, *this),
+ device_image_interface(mconfig, *this),
m_cdrom_handle(NULL),
m_extension_list(NULL),
m_interface(NULL)
diff --git a/src/devices/imagedev/flopdrv.cpp b/src/devices/imagedev/flopdrv.cpp
index a9639b3ce9a..ed4063ecc00 100644
--- a/src/devices/imagedev/flopdrv.cpp
+++ b/src/devices/imagedev/flopdrv.cpp
@@ -709,12 +709,12 @@ legacy_floppy_image_device::legacy_floppy_image_device(const machine_config &mco
m_rdy(0),
m_dskchg(0),
m_drive_id(0),
- m_active(0),
+ m_active(0),
m_config(NULL),
m_flags(0),
m_max_track(0),
m_num_sides(0),
- m_current_track(0),
+ m_current_track(0),
m_index_timer(NULL),
m_index_pulse_callback(NULL),
m_rpm(0.0f),
@@ -743,12 +743,12 @@ legacy_floppy_image_device::legacy_floppy_image_device(const machine_config &mco
m_rdy(0),
m_dskchg(0),
m_drive_id(0),
- m_active(0),
- m_config(NULL),
+ m_active(0),
+ m_config(NULL),
m_flags(0),
m_max_track(0),
m_num_sides(0),
- m_current_track(0),
+ m_current_track(0),
m_index_timer(NULL),
m_index_pulse_callback(NULL),
m_rpm(0.0f),
diff --git a/src/devices/imagedev/floppy.cpp b/src/devices/imagedev/floppy.cpp
index 9847cb81662..22a0b03ceec 100644
--- a/src/devices/imagedev/floppy.cpp
+++ b/src/devices/imagedev/floppy.cpp
@@ -126,7 +126,7 @@ const floppy_format_type floppy_image_device::default_floppy_formats[] = {
floppy_connector::floppy_connector(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
device_t(mconfig, FLOPPY_CONNECTOR, "Floppy drive connector abstraction", tag, owner, clock, "floppy_connector", __FILE__),
- device_slot_interface(mconfig, *this),
+ device_slot_interface(mconfig, *this),
formats(NULL),
m_enable_sound(false)
{
@@ -167,26 +167,26 @@ floppy_image_device *floppy_connector::get_device()
floppy_image_device::floppy_image_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source)
: device_t(mconfig, type, name, tag, owner, clock, shortname, source),
device_image_interface(mconfig, *this),
- device_slot_card_interface(mconfig, *this),
- input_format(NULL),
+ device_slot_card_interface(mconfig, *this),
+ input_format(NULL),
output_format(NULL),
image(NULL),
- fif_list(NULL),
- index_timer(NULL),
- tracks(0),
- sides(0),
- form_factor(0),
- motor_always_on(false),
- dir(0), stp(0), wtg(0), mon(0), ss(0), idx(0), wpt(0), rdy(0), dskchg(0),
- ready(false),
- rpm(0),
- floppy_ratio_1(0),
- revolution_count(0),
- cyl(0),
- subcyl(0),
- image_dirty(false),
+ fif_list(NULL),
+ index_timer(NULL),
+ tracks(0),
+ sides(0),
+ form_factor(0),
+ motor_always_on(false),
+ dir(0), stp(0), wtg(0), mon(0), ss(0), idx(0), wpt(0), rdy(0), dskchg(0),
+ ready(false),
+ rpm(0),
+ floppy_ratio_1(0),
+ revolution_count(0),
+ cyl(0),
+ subcyl(0),
+ image_dirty(false),
ready_counter(0),
- m_make_sound(false),
+ m_make_sound(false),
m_sound_out(NULL)
{
extension_list[0] = '\0';
@@ -1103,22 +1103,22 @@ void ui_menu_control_floppy_image::handle()
//===================================================================
floppy_sound_device::floppy_sound_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
- : samples_device(mconfig, FLOPPYSOUND, "Floppy sound", tag, owner, clock, "flopsnd", __FILE__),
- m_sound(NULL),
- m_is525(false),
- m_sampleindex_motor_start(0),
- m_sampleindex_motor_loop(0),
- m_sampleindex_motor_end(0),
- m_samplesize_motor_start(0),
- m_samplesize_motor_loop(0),
- m_samplesize_motor_end(0),
- m_samplepos_motor(0),
- m_motor_playback_state(0),
- m_motor_on(false),
- m_step_samples(0),
- m_sampleindex_step1(0),
- m_samplepos_step(0),
- m_step_playback_state(0)
+ : samples_device(mconfig, FLOPPYSOUND, "Floppy sound", tag, owner, clock, "flopsnd", __FILE__),
+ m_sound(NULL),
+ m_is525(false),
+ m_sampleindex_motor_start(0),
+ m_sampleindex_motor_loop(0),
+ m_sampleindex_motor_end(0),
+ m_samplesize_motor_start(0),
+ m_samplesize_motor_loop(0),
+ m_samplesize_motor_end(0),
+ m_samplepos_motor(0),
+ m_motor_playback_state(0),
+ m_motor_on(false),
+ m_step_samples(0),
+ m_sampleindex_step1(0),
+ m_samplepos_step(0),
+ m_step_playback_state(0)
{
m_loaded = false;
}
diff --git a/src/devices/imagedev/mfmhd.cpp b/src/devices/imagedev/mfmhd.cpp
index a0dff4f2c83..e1cccc6f660 100644
--- a/src/devices/imagedev/mfmhd.cpp
+++ b/src/devices/imagedev/mfmhd.cpp
@@ -309,24 +309,24 @@ std::string mfm_harddisk_device::tts(const attotime &t)
mfm_harddisk_device::mfm_harddisk_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source)
: harddisk_image_device(mconfig, type, name, tag, owner, clock, shortname, source),
- device_slot_card_interface(mconfig, *this),
+ device_slot_card_interface(mconfig, *this),
m_index_timer(NULL),
m_spinup_timer(NULL),
m_seek_timer(NULL),
m_cache_timer(NULL),
- m_precomp_cyl(0),
- m_redwc_cyl(0),
- m_encoding(),
- m_ready(false),
- m_current_cylinder(0),
- m_current_head(0),
- m_track_delta(0),
- m_step_phase(0),
- m_seek_complete(false),
- m_seek_inward(false),
- m_autotruncation(false),
- m_recalibrated(false),
- m_step_line(),
+ m_precomp_cyl(0),
+ m_redwc_cyl(0),
+ m_encoding(),
+ m_ready(false),
+ m_current_cylinder(0),
+ m_current_head(0),
+ m_track_delta(0),
+ m_step_phase(0),
+ m_seek_complete(false),
+ m_seek_inward(false),
+ m_autotruncation(false),
+ m_recalibrated(false),
+ m_step_line(),
m_format(NULL)
{
m_spinupms = 10000;
@@ -969,7 +969,7 @@ const device_type MFMHD_ST251 = &device_creator<mfm_hd_st251_device>;
// This is a write-back LRU cache.
// ===========================================================
-mfmhd_trackimage_cache::mfmhd_trackimage_cache(running_machine &machine):
+mfmhd_trackimage_cache::mfmhd_trackimage_cache(running_machine &machine):
m_mfmhd(NULL),
m_tracks(NULL),
m_machine(machine)
@@ -1159,9 +1159,9 @@ UINT16* mfmhd_trackimage_cache::get_trackimage(int cylinder, int head)
mfm_harddisk_connector::mfm_harddisk_connector(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock):
device_t(mconfig, MFM_HD_CONNECTOR, "MFM hard disk connector", tag, owner, clock, "mfm_hd_connector", __FILE__),
- device_slot_interface(mconfig, *this),
- m_encoding(),
- m_spinupms(0),
+ device_slot_interface(mconfig, *this),
+ m_encoding(),
+ m_spinupms(0),
m_cachesize(0),
m_format(NULL)
{
diff --git a/src/devices/imagedev/mfmhd.h b/src/devices/imagedev/mfmhd.h
index 7be3dc8c1cb..b42a212c2a5 100644
--- a/src/devices/imagedev/mfmhd.h
+++ b/src/devices/imagedev/mfmhd.h
@@ -44,7 +44,7 @@ public:
private:
mfm_harddisk_device* m_mfmhd;
mfmhd_trackimage* m_tracks;
- running_machine & m_machine;
+ running_machine & m_machine;
};
class mfm_harddisk_device : public harddisk_image_device,
diff --git a/src/devices/imagedev/midiin.cpp b/src/devices/imagedev/midiin.cpp
index 3f2c22d7c99..8d32dbcba27 100644
--- a/src/devices/imagedev/midiin.cpp
+++ b/src/devices/imagedev/midiin.cpp
@@ -24,14 +24,14 @@ const device_type MIDIIN = &device_creator<midiin_device>;
midiin_device::midiin_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
: device_t(mconfig, MIDIIN, "MIDI In image device", tag, owner, clock, "midiin", __FILE__),
- device_image_interface(mconfig, *this),
- device_serial_interface(mconfig, *this),
- m_midi(NULL),
- m_timer(NULL),
- m_input_cb(*this),
- m_xmit_read(0),
- m_xmit_write(0),
- m_tx_busy(false)
+ device_image_interface(mconfig, *this),
+ device_serial_interface(mconfig, *this),
+ m_midi(NULL),
+ m_timer(NULL),
+ m_input_cb(*this),
+ m_xmit_read(0),
+ m_xmit_write(0),
+ m_tx_busy(false)
{
}
diff --git a/src/devices/imagedev/midiout.cpp b/src/devices/imagedev/midiout.cpp
index 86c446fa6b4..33e6d911294 100644
--- a/src/devices/imagedev/midiout.cpp
+++ b/src/devices/imagedev/midiout.cpp
@@ -24,9 +24,9 @@ const device_type MIDIOUT = &device_creator<midiout_device>;
midiout_device::midiout_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
: device_t(mconfig, MIDIOUT, "MIDI Out image device", tag, owner, clock, "midiout", __FILE__),
- device_image_interface(mconfig, *this),
- device_serial_interface(mconfig, *this),
- m_midi(NULL)
+ device_image_interface(mconfig, *this),
+ device_serial_interface(mconfig, *this),
+ m_midi(NULL)
{
}
diff --git a/src/devices/imagedev/snapquik.cpp b/src/devices/imagedev/snapquik.cpp
index 78d55333f16..81d4049edbb 100644
--- a/src/devices/imagedev/snapquik.cpp
+++ b/src/devices/imagedev/snapquik.cpp
@@ -20,12 +20,12 @@ const device_type SNAPSHOT = &device_creator<snapshot_image_device>;
snapshot_image_device::snapshot_image_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
: device_t(mconfig, SNAPSHOT, "Snapshot", tag, owner, clock, "snapshot_image", __FILE__),
- device_image_interface(mconfig, *this),
- m_file_extensions(NULL),
- m_interface(NULL),
- m_delay_seconds(0),
- m_delay_attoseconds(0),
- m_timer(NULL)
+ device_image_interface(mconfig, *this),
+ m_file_extensions(NULL),
+ m_interface(NULL),
+ m_delay_seconds(0),
+ m_delay_attoseconds(0),
+ m_timer(NULL)
{
}