diff options
author | AJR <ajrhacker@users.noreply.github.com> | 2017-03-03 12:58:31 -0500 |
---|---|---|
committer | AJR <ajrhacker@users.noreply.github.com> | 2017-03-03 12:58:31 -0500 |
commit | 5f50d85c29cf3dadba29664a5ce4e5ec236d0269 (patch) | |
tree | b870be6c7486e9074a6c012cb612767df7999c7f /src/mame/includes | |
parent | f9887201973804ea8d9170a421ba93680dc9abf3 (diff) |
Fix debug commands in drivers and devices (nw)
Diffstat (limited to 'src/mame/includes')
-rw-r--r-- | src/mame/includes/dgn_beta.h | 4 | ||||
-rw-r--r-- | src/mame/includes/mbc55x.h | 4 | ||||
-rw-r--r-- | src/mame/includes/rmnimbus.h | 4 | ||||
-rw-r--r-- | src/mame/includes/saturn.h | 8 | ||||
-rw-r--r-- | src/mame/includes/xbox.h | 32 |
5 files changed, 26 insertions, 26 deletions
diff --git a/src/mame/includes/dgn_beta.h b/src/mame/includes/dgn_beta.h index ee45ee9cf6c..2c93ad9f771 100644 --- a/src/mame/includes/dgn_beta.h +++ b/src/mame/includes/dgn_beta.h @@ -224,8 +224,8 @@ public: offs_t dgnbeta_dasm_override(device_t &device, std::ostream &stream, offs_t pc, const uint8_t *oprom, const uint8_t *opram, int options); private: - void execute_beta_key_dump(int ref, int params, const char *param[]); - void execute_beta_dat_log(int ref, int params, const char *param[]); + void execute_beta_key_dump(int ref, const std::vector<std::string> ¶ms); + void execute_beta_dat_log(int ref, const std::vector<std::string> ¶ms); }; #endif /* DGN_BETA_H_ */ diff --git a/src/mame/includes/mbc55x.h b/src/mame/includes/mbc55x.h index 34a8dda827f..07011355e56 100644 --- a/src/mame/includes/mbc55x.h +++ b/src/mame/includes/mbc55x.h @@ -182,8 +182,8 @@ public: void set_ram_size(); private: - void debug_command(int ref, int params, const char *param[]); - void video_debug(int ref, int params, const char *param[]); + void debug_command(int ref, const std::vector<std::string> ¶ms); + void video_debug(int ref, const std::vector<std::string> ¶ms); }; /*----------- defined in drivers/mbc55x.c -----------*/ diff --git a/src/mame/includes/rmnimbus.h b/src/mame/includes/rmnimbus.h index c6d3595a81f..7e8b8803f8c 100644 --- a/src/mame/includes/rmnimbus.h +++ b/src/mame/includes/rmnimbus.h @@ -220,6 +220,6 @@ public: } m_nimbus_mouse; private: - void debug_command(int ref, int params, const char *param[]); - void video_debug(int ref, int params, const char *param[]); + void debug_command(int ref, const std::vector<std::string> ¶ms); + void video_debug(int ref, const std::vector<std::string> ¶ms); }; diff --git a/src/mame/includes/saturn.h b/src/mame/includes/saturn.h index 3f945afd979..bb8ebf478e5 100644 --- a/src/mame/includes/saturn.h +++ b/src/mame/includes/saturn.h @@ -689,10 +689,10 @@ public: DECLARE_READ8_MEMBER( stv_SMPC_r ); DECLARE_WRITE8_MEMBER( stv_SMPC_w ); - void debug_scudma_command(int ref, int params, const char **param); - void debug_scuirq_command(int ref, int params, const char **param); - void debug_help_command(int ref, int params, const char **param); - void debug_commands(int ref, int params, const char **param); + void debug_scudma_command(int ref, const std::vector<std::string> ¶ms); + void debug_scuirq_command(int ref, const std::vector<std::string> ¶ms); + void debug_help_command(int ref, const std::vector<std::string> ¶ms); + void debug_commands(int ref, const std::vector<std::string> ¶ms); }; diff --git a/src/mame/includes/xbox.h b/src/mame/includes/xbox.h index b28504d7306..613a2ca48f6 100644 --- a/src/mame/includes/xbox.h +++ b/src/mame/includes/xbox.h @@ -130,22 +130,22 @@ public: const debugger_constants *debugc_bios; private: - void dump_string_command(int ref, int params, const char **param); - void dump_process_command(int ref, int params, const char **param); - void dump_list_command(int ref, int params, const char **param); - void dump_dpc_command(int ref, int params, const char **param); - void dump_timer_command(int ref, int params, const char **param); - void curthread_command(int ref, int params, const char **param); - void threadlist_command(int ref, int params, const char **param); - void generate_irq_command(int ref, int params, const char **param); - void nv2a_combiners_command(int ref, int params, const char **param); - void nv2a_wclipping_command(int ref, int params, const char **param); - void waitvblank_command(int ref, int params, const char **param); - void grab_texture_command(int ref, int params, const char **param); - void grab_vprog_command(int ref, int params, const char **param); - void vprogdis_command(int ref, int params, const char **param); - void help_command(int ref, int params, const char **param); - void xbox_debug_commands(int ref, int params, const char **param); + void dump_string_command(int ref, const std::vector<std::string> ¶ms); + void dump_process_command(int ref, const std::vector<std::string> ¶ms); + void dump_list_command(int ref, const std::vector<std::string> ¶ms); + void dump_dpc_command(int ref, const std::vector<std::string> ¶ms); + void dump_timer_command(int ref, const std::vector<std::string> ¶ms); + void curthread_command(int ref, const std::vector<std::string> ¶ms); + void threadlist_command(int ref, const std::vector<std::string> ¶ms); + void generate_irq_command(int ref, const std::vector<std::string> ¶ms); + void nv2a_combiners_command(int ref, const std::vector<std::string> ¶ms); + void nv2a_wclipping_command(int ref, const std::vector<std::string> ¶ms); + void waitvblank_command(int ref, const std::vector<std::string> ¶ms); + void grab_texture_command(int ref, const std::vector<std::string> ¶ms); + void grab_vprog_command(int ref, const std::vector<std::string> ¶ms); + void vprogdis_command(int ref, const std::vector<std::string> ¶ms); + void help_command(int ref, const std::vector<std::string> ¶ms); + void xbox_debug_commands(int ref, const std::vector<std::string> ¶ms); int find_bios_index(running_machine &mach); bool find_bios_hash(running_machine &mach, int bios, uint32_t &crc32); void find_debug_params(running_machine &mach); |