diff options
Diffstat (limited to 'src/mame/machine/decocass_tape.h')
-rw-r--r-- | src/mame/machine/decocass_tape.h | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/src/mame/machine/decocass_tape.h b/src/mame/machine/decocass_tape.h index 4d7f03ada4a..ee6b2837308 100644 --- a/src/mame/machine/decocass_tape.h +++ b/src/mame/machine/decocass_tape.h @@ -6,12 +6,12 @@ class decocass_tape_device : public device_t { public: - decocass_tape_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); + decocass_tape_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock); ~decocass_tape_device() {} - UINT8 get_status_bits(); - UINT8 is_present(); - void change_speed(INT8 newspeed); + uint8_t get_status_bits(); + uint8_t is_present(); + void change_speed(int8_t newspeed); protected: // device-level overrides @@ -57,14 +57,14 @@ private: // internal state emu_timer * m_tape_timer; /* timer for running the tape */ - INT8 m_speed; /* speed: <-1=fast rewind, -1=reverse, 0=stopped, 1=normal, >1=fast forward */ + int8_t m_speed; /* speed: <-1=fast rewind, -1=reverse, 0=stopped, 1=normal, >1=fast forward */ tape_region m_region; /* current region */ tape_byte m_bytenum; /* byte number within a datablock */ - UINT8 m_bitnum; /* bit number within a byte */ - UINT32 m_clockpos; /* the current clock position of the tape */ - UINT32 m_numclocks; /* total number of clocks on the entire tape */ - UINT16 m_crc16[256]; /* CRC16 for each block */ - optional_region_ptr<UINT8> m_tape_data; + uint8_t m_bitnum; /* bit number within a byte */ + uint32_t m_clockpos; /* the current clock position of the tape */ + uint32_t m_numclocks; /* total number of clocks on the entire tape */ + uint16_t m_crc16[256]; /* CRC16 for each block */ + optional_region_ptr<uint8_t> m_tape_data; const char *describe_state(); TIMER_CALLBACK_MEMBER( tape_clock_callback ); |