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/jvsdev.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/jvsdev.h')
-rw-r--r-- | src/devices/machine/jvsdev.h | 34 |
1 files changed, 17 insertions, 17 deletions
diff --git a/src/devices/machine/jvsdev.h b/src/devices/machine/jvsdev.h index 22a95e2b1a7..1cff880d8ea 100644 --- a/src/devices/machine/jvsdev.h +++ b/src/devices/machine/jvsdev.h @@ -13,17 +13,17 @@ class jvs_host; class jvs_device : public device_t { public: - jvs_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); + jvs_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); static void static_set_jvs_host_tag(device_t &device, const char *jvs_host_tag); void chain(jvs_device *dev); - void message(UINT8 dest, const UINT8 *send_buffer, UINT32 send_size, UINT8 *recv_buffer, UINT32 &recv_size); + void message(uint8_t dest, const uint8_t *send_buffer, uint32_t send_size, uint8_t *recv_buffer, uint32_t &recv_size); bool get_address_set_line(); protected: - UINT32 jvs_outputs; + uint32_t jvs_outputs; - void handle_output(ioport_port *port, UINT8 id, UINT8 val); + void handle_output(ioport_port *port, uint8_t id, uint8_t val); // device-level overrides virtual void device_start() override; @@ -31,24 +31,24 @@ protected: // JVS device overrides virtual const char *device_id(); - virtual UINT8 command_format_version(); - virtual UINT8 jvs_standard_version(); - virtual UINT8 comm_method_version(); - virtual void function_list(UINT8 *&buf); - virtual bool switches(UINT8 *&buf, UINT8 count_players, UINT8 bytes_per_switch); - virtual bool coin_counters(UINT8 *&buf, UINT8 count); - virtual bool coin_add(UINT8 slot, INT32 count); - virtual bool analogs(UINT8 *&buf, UINT8 count); - virtual bool swoutputs(UINT8 count, const UINT8 *vals); - virtual bool swoutputs(UINT8 id, UINT8 val); + virtual uint8_t command_format_version(); + virtual uint8_t jvs_standard_version(); + virtual uint8_t comm_method_version(); + virtual void function_list(uint8_t *&buf); + virtual bool switches(uint8_t *&buf, uint8_t count_players, uint8_t bytes_per_switch); + virtual bool coin_counters(uint8_t *&buf, uint8_t count); + virtual bool coin_add(uint8_t slot, int32_t count); + virtual bool analogs(uint8_t *&buf, uint8_t count); + virtual bool swoutputs(uint8_t count, const uint8_t *vals); + virtual bool swoutputs(uint8_t id, uint8_t val); private: const char *jvs_host_tag; jvs_device *next_device; - UINT8 jvs_address; - UINT32 jvs_reset_counter; + uint8_t jvs_address; + uint32_t jvs_reset_counter; - int handle_message(const UINT8 *send_buffer, UINT32 send_size, UINT8 *&recv_buffer); + int handle_message(const uint8_t *send_buffer, uint32_t send_size, uint8_t *&recv_buffer); }; #endif |