diff options
author | 2016-10-22 13:13:17 +0200 | |
---|---|---|
committer | 2016-10-22 13:13:17 +0200 | |
commit | ddb290d5f615019c33c42b8d94e5a5254cabcf33 (patch) | |
tree | a70f688b0df3acd19da7b1151e5902e3c6af3fa5 /src/devices/machine/ldp1450.h | |
parent | 333bff8de64dfaeb98134000412796b4fdef970b (diff) |
NOTICE (TYPE NAME CONSOLIDATION)
Use standard uint64_t, uint32_t, uint16_t or uint8_t instead of UINT64, UINT32, UINT16 or UINT8
also use standard int64_t, int32_t, int16_t or int8_t instead of INT64, INT32, INT16 or INT8
Diffstat (limited to 'src/devices/machine/ldp1450.h')
-rw-r--r-- | src/devices/machine/ldp1450.h | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/src/devices/machine/ldp1450.h b/src/devices/machine/ldp1450.h index 9380ede4cfd..efeefcfa044 100644 --- a/src/devices/machine/ldp1450.h +++ b/src/devices/machine/ldp1450.h @@ -33,11 +33,11 @@ class sony_ldp1450_device : public laserdisc_device { public: // construction/destruction - sony_ldp1450_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); + sony_ldp1450_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock); // I/O operations TODO: both actually protected - void command_w(UINT8 data); - UINT8 status_r() const { return m_status; } + void command_w(uint8_t data); + uint8_t status_r() const { return m_status; } protected: // device-level overrides @@ -47,14 +47,14 @@ protected: virtual const tiny_rom_entry *device_rom_region() const override; virtual void player_vsync(const vbi_metadata &vbi, int fieldnum, const attotime &curtime) override; - virtual INT32 player_update(const vbi_metadata &vbi, int fieldnum, const attotime &curtime) override; + virtual int32_t player_update(const vbi_metadata &vbi, int fieldnum, const attotime &curtime) override; virtual void player_overlay(bitmap_yuy16 &bitmap) override { } - UINT8 m_ld_frame_index; - UINT8 m_ld_frame[5]; - UINT8 m_ld_command_current_byte; - UINT8 m_ld_command_to_send[5]; - UINT8 m_ld_command_total_bytes; + uint8_t m_ld_frame_index; + uint8_t m_ld_frame[5]; + uint8_t m_ld_command_current_byte; + uint8_t m_ld_command_to_send[5]; + uint8_t m_ld_command_total_bytes; enum LD_INPUT_STATE { @@ -77,16 +77,16 @@ protected: }; private: - UINT8 m_command; - UINT8 m_status; + uint8_t m_command; + uint8_t m_status; ldp1450_player_state m_player_state; bool m_audio_enable[2]; void set_new_player_state(ldp1450_player_state which); - void set_new_player_bcd(UINT8 data); - UINT32 bcd_to_raw(); + void set_new_player_bcd(uint8_t data); + uint32_t bcd_to_raw(); void exec_enter_cmd(); - UINT8 m_internal_bcd[0x10]; - UINT8 m_index_state; + uint8_t m_internal_bcd[0x10]; + uint8_t m_index_state; }; |