summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/includes
diff options
context:
space:
mode:
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
commit5f50d85c29cf3dadba29664a5ce4e5ec236d0269 (patch)
treeb870be6c7486e9074a6c012cb612767df7999c7f /src/mame/includes
parentf9887201973804ea8d9170a421ba93680dc9abf3 (diff)
Fix debug commands in drivers and devices (nw)
Diffstat (limited to 'src/mame/includes')
-rw-r--r--src/mame/includes/dgn_beta.h4
-rw-r--r--src/mame/includes/mbc55x.h4
-rw-r--r--src/mame/includes/rmnimbus.h4
-rw-r--r--src/mame/includes/saturn.h8
-rw-r--r--src/mame/includes/xbox.h32
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> &params);
+ void execute_beta_dat_log(int ref, const std::vector<std::string> &params);
};
#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> &params);
+ void video_debug(int ref, const std::vector<std::string> &params);
};
/*----------- 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> &params);
+ void video_debug(int ref, const std::vector<std::string> &params);
};
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> &params);
+ void debug_scuirq_command(int ref, const std::vector<std::string> &params);
+ void debug_help_command(int ref, const std::vector<std::string> &params);
+ void debug_commands(int ref, const std::vector<std::string> &params);
};
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> &params);
+ void dump_process_command(int ref, const std::vector<std::string> &params);
+ void dump_list_command(int ref, const std::vector<std::string> &params);
+ void dump_dpc_command(int ref, const std::vector<std::string> &params);
+ void dump_timer_command(int ref, const std::vector<std::string> &params);
+ void curthread_command(int ref, const std::vector<std::string> &params);
+ void threadlist_command(int ref, const std::vector<std::string> &params);
+ void generate_irq_command(int ref, const std::vector<std::string> &params);
+ void nv2a_combiners_command(int ref, const std::vector<std::string> &params);
+ void nv2a_wclipping_command(int ref, const std::vector<std::string> &params);
+ void waitvblank_command(int ref, const std::vector<std::string> &params);
+ void grab_texture_command(int ref, const std::vector<std::string> &params);
+ void grab_vprog_command(int ref, const std::vector<std::string> &params);
+ void vprogdis_command(int ref, const std::vector<std::string> &params);
+ void help_command(int ref, const std::vector<std::string> &params);
+ void xbox_debug_commands(int ref, const std::vector<std::string> &params);
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);