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/bus/chanf/rom.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/bus/chanf/rom.h')
-rw-r--r-- | src/devices/bus/chanf/rom.h | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/src/devices/bus/chanf/rom.h b/src/devices/bus/chanf/rom.h index 4591865ec05..7fd8944ba99 100644 --- a/src/devices/bus/chanf/rom.h +++ b/src/devices/bus/chanf/rom.h @@ -13,17 +13,17 @@ class chanf_rom_device : public device_t, { public: // construction/destruction - chanf_rom_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); - chanf_rom_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); + chanf_rom_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, uint32_t clock, const char *shortname, const char *source); + chanf_rom_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock); // device-level overrides virtual void device_start() override {} virtual void device_reset() override {} - UINT8 common_read_2102(UINT32 offset); - UINT8 common_read_3853(UINT32 offset); - void common_write_2102(UINT32 offset, UINT8 data); - void common_write_3853(UINT32 offset, UINT8 data); + uint8_t common_read_2102(uint32_t offset); + uint8_t common_read_3853(uint32_t offset); + void common_write_2102(uint32_t offset, uint8_t data); + void common_write_3853(uint32_t offset, uint8_t data); // reading and writing virtual DECLARE_READ8_MEMBER(read_rom) override; @@ -31,8 +31,8 @@ public: protected: // used for RAM chip in Hangman & Maze - UINT8 m_latch[2]; // PORT A & PORT B - UINT16 m_addr_latch, m_addr; + uint8_t m_latch[2]; // PORT A & PORT B + uint16_t m_addr_latch, m_addr; int m_read_write, m_data0; }; @@ -42,7 +42,7 @@ class chanf_maze_device : public chanf_rom_device { public: // construction/destruction - chanf_maze_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); + chanf_maze_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock); // device-level overrides virtual void device_start() override; @@ -60,7 +60,7 @@ class chanf_hangman_device : public chanf_rom_device { public: // construction/destruction - chanf_hangman_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); + chanf_hangman_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock); // device-level overrides virtual void device_start() override; @@ -78,7 +78,7 @@ class chanf_chess_device : public chanf_rom_device { public: // construction/destruction - chanf_chess_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); + chanf_chess_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock); // reading and writing virtual DECLARE_READ8_MEMBER(read_ram) override { return common_read_3853(offset); } @@ -92,7 +92,7 @@ class chanf_multi_old_device : public chanf_rom_device { public: // construction/destruction - chanf_multi_old_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); + chanf_multi_old_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock); // device-level overrides virtual void device_start() override; @@ -115,7 +115,7 @@ class chanf_multi_final_device : public chanf_rom_device { public: // construction/destruction - chanf_multi_final_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); + chanf_multi_final_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock); // device-level overrides virtual void device_start() override; |