summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/debug/debugcmd.h
diff options
context:
space:
mode:
author Miodrag Milanovic <mmicko@gmail.com>2016-10-22 13:13:17 +0200
committer Miodrag Milanovic <mmicko@gmail.com>2016-10-22 13:13:17 +0200
commitddb290d5f615019c33c42b8d94e5a5254cabcf33 (patch)
treea70f688b0df3acd19da7b1151e5902e3c6af3fa5 /src/emu/debug/debugcmd.h
parent333bff8de64dfaeb98134000412796b4fdef970b (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/emu/debug/debugcmd.h')
-rw-r--r--src/emu/debug/debugcmd.h46
1 files changed, 23 insertions, 23 deletions
diff --git a/src/emu/debug/debugcmd.h b/src/emu/debug/debugcmd.h
index eae6fc611d3..b65b49b68ea 100644
--- a/src/emu/debug/debugcmd.h
+++ b/src/emu/debug/debugcmd.h
@@ -29,7 +29,7 @@ public:
bool validate_boolean_parameter(const char *param, bool *result);
/* validates a parameter as a numeric value */
- bool validate_number_parameter(const char *param, UINT64 *result);
+ bool validate_number_parameter(const char *param, uint64_t *result);
/* validates a parameter as a cpu */
bool validate_cpu_parameter(const char *param, device_t **result);
@@ -41,55 +41,55 @@ private:
struct global_entry
{
void * base;
- UINT32 size;
+ uint32_t size;
};
struct cheat_map
{
- UINT64 offset;
- UINT64 first_value;
- UINT64 previous_value;
- UINT8 state:1;
- UINT8 undo:7;
+ uint64_t offset;
+ uint64_t first_value;
+ uint64_t previous_value;
+ uint8_t state:1;
+ uint8_t undo:7;
};
// TODO [RH 31 May 2016]: Move this cheat stuff into its own class
struct cheat_system
{
char cpu[2];
- UINT8 width;
+ uint8_t width;
std::vector<cheat_map> cheatmap;
- UINT8 undo;
- UINT8 signed_cheat;
- UINT8 swapped_cheat;
+ uint8_t undo;
+ uint8_t signed_cheat;
+ uint8_t swapped_cheat;
};
struct cheat_region_map
{
- UINT64 offset;
- UINT64 endoffset;
+ uint64_t offset;
+ uint64_t endoffset;
const char *share;
- UINT8 disabled;
+ uint8_t disabled;
};
bool debug_command_parameter_expression(const char *param, parsed_expression &result);
bool debug_command_parameter_command(const char *param);
bool cheat_address_is_valid(address_space &space, offs_t address);
- UINT64 cheat_sign_extend(const cheat_system *cheatsys, UINT64 value);
- UINT64 cheat_byte_swap(const cheat_system *cheatsys, UINT64 value);
- UINT64 cheat_read_extended(const cheat_system *cheatsys, address_space &space, offs_t address);
+ uint64_t cheat_sign_extend(const cheat_system *cheatsys, uint64_t value);
+ uint64_t cheat_byte_swap(const cheat_system *cheatsys, uint64_t value);
+ uint64_t cheat_read_extended(const cheat_system *cheatsys, address_space &space, offs_t address);
- UINT64 execute_min(symbol_table &table, void *ref, int params, const UINT64 *param);
- UINT64 execute_max(symbol_table &table, void *ref, int params, const UINT64 *param);
- UINT64 execute_if(symbol_table &table, void *ref, int params, const UINT64 *param);
+ uint64_t execute_min(symbol_table &table, void *ref, int params, const uint64_t *param);
+ uint64_t execute_max(symbol_table &table, void *ref, int params, const uint64_t *param);
+ uint64_t execute_if(symbol_table &table, void *ref, int params, const uint64_t *param);
- UINT64 global_get(symbol_table &table, void *ref);
- void global_set(symbol_table &table, void *ref, UINT64 value);
+ uint64_t global_get(symbol_table &table, void *ref);
+ void global_set(symbol_table &table, void *ref, uint64_t value);
- int mini_printf(char *buffer, const char *format, int params, UINT64 *param);
+ int mini_printf(char *buffer, const char *format, int params, uint64_t *param);
void execute_trace_internal(int ref, int params, const char *param[], bool trace_over);