diff options
author | 2011-07-26 22:38:10 +0000 | |
---|---|---|
committer | 2011-07-26 22:38:10 +0000 | |
commit | c6e2fca80a223d168c5118d0c2d7d4d2cbb410a2 (patch) | |
tree | 2d4d4b6016d9f52cf5ca7b678434adcb7dac9746 /src/emu/imagedev/floppy.h | |
parent | 1ba8f0ec727487eda5ec114f7718d029b0c82f71 (diff) |
Cleanups and version bumpmame0143u2
Diffstat (limited to 'src/emu/imagedev/floppy.h')
-rw-r--r-- | src/emu/imagedev/floppy.h | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/src/emu/imagedev/floppy.h b/src/emu/imagedev/floppy.h index 5ac4f0de9a7..24abf9c6d10 100644 --- a/src/emu/imagedev/floppy.h +++ b/src/emu/imagedev/floppy.h @@ -16,7 +16,7 @@ struct floppy_interface { - devcb_write_line m_out_idx_cb; /* index */ + devcb_write_line m_out_idx_cb; /* index */ const struct floppy_format_def *m_formats; const char * m_interface; @@ -54,19 +54,19 @@ public: virtual const option_guide *create_option_guide() const { return NULL; } UINT8* get_buffer() { return m_image->get_buffer(m_cyl,m_ss ^ 1); } - + void mon_w(int state); void index_func(); int ready_r(); double get_pos(); - + int wpt_r() { return m_wpt; } int dskchg_r() { return m_dskchg; } int trk00_r() { return (m_cyl==0) ? 0 : 1; } - - void stp_w(int state); + + void stp_w(int state); void dir_w(int state) { m_dir = state; } - void ss_w(int state) { m_ss = state; } + void ss_w(int state) { m_ss = state; } protected: // device-level overrides @@ -74,12 +74,12 @@ protected: virtual void device_start(); image_device_format m_format; - floppy_image *m_image; + floppy_image *m_image; char m_extension_list[256]; - + /* index pulse timer */ emu_timer *m_index_timer; - + /* state of input lines */ int m_dir; /* direction */ int m_stp; /* step */ @@ -93,10 +93,10 @@ protected: int m_wpt; /* write protect */ int m_rdy; /* ready */ int m_dskchg; /* disk changed */ - + /* rotation per minute => gives index pulse frequency */ float m_rpm; - + int m_cyl; devcb_resolved_write_line m_out_idx_func; }; |