diff options
Diffstat (limited to 'src/devices/machine/t10spc.h')
-rw-r--r-- | src/devices/machine/t10spc.h | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/src/devices/machine/t10spc.h b/src/devices/machine/t10spc.h index abae1157bd2..025d0a5361e 100644 --- a/src/devices/machine/t10spc.h +++ b/src/devices/machine/t10spc.h @@ -22,10 +22,10 @@ public: virtual void SetDevice( void *device ) = 0; virtual void GetDevice( void **device ) = 0; - virtual void SetCommand( UINT8 *command, int commandLength ); + virtual void SetCommand( uint8_t *command, int commandLength ); virtual void ExecCommand(); - virtual void WriteData( UINT8 *data, int dataLength ); - virtual void ReadData( UINT8 *data, int dataLength ); + virtual void WriteData( uint8_t *data, int dataLength ); + virtual void ReadData( uint8_t *data, int dataLength ); void GetLength( int *transferLength ) { *transferLength = m_transfer_length; } virtual void GetPhase( int *phase ) { *phase = m_phase; } @@ -33,8 +33,8 @@ protected: virtual void t10_start(device_t &device); virtual void t10_reset(); - int SCSILengthFromUINT8( UINT8 *length ) { if( *length == 0 ) { return 256; } return *length; } - int SCSILengthFromUINT16( UINT8 *length ) { return ( *(length) << 8 ) | *(length + 1 ); } + int SCSILengthFromUINT8( uint8_t *length ) { if( *length == 0 ) { return 256; } return *length; } + int SCSILengthFromUINT16( uint8_t *length ) { return ( *(length) << 8 ) | *(length + 1 ); } enum sense_key_t { @@ -117,15 +117,15 @@ protected: void set_sense(sense_key_t key, sense_asc_ascq_t asc_ascq); - UINT8 command[ 32 ]; + uint8_t command[ 32 ]; int commandLength; int m_transfer_length; int m_phase; status_code_t m_status_code; - UINT8 m_sense_key; - UINT8 m_sense_asc; - UINT8 m_sense_ascq; - UINT32 m_sense_information; + uint8_t m_sense_key; + uint8_t m_sense_asc; + uint8_t m_sense_ascq; + uint32_t m_sense_information; int m_sector_bytes; device_t *m_device; }; |