diff options
Diffstat (limited to 'src/emu/debug')
-rw-r--r-- | src/emu/debug/debugcmd.c | 8 | ||||
-rw-r--r-- | src/emu/debug/debugcpu.c | 28 | ||||
-rw-r--r-- | src/emu/debug/debugcpu.h | 10 |
3 files changed, 23 insertions, 23 deletions
diff --git a/src/emu/debug/debugcmd.c b/src/emu/debug/debugcmd.c index 6622f61fafc..06b37a6826e 100644 --- a/src/emu/debug/debugcmd.c +++ b/src/emu/debug/debugcmd.c @@ -1721,7 +1721,7 @@ static void execute_stateload(running_machine &machine, int ref, int params, con { astring filename(param[0]); machine.immediate_load(filename); - + // Clear all PC & memory tracks device_iterator iter(machine.root_device()); for (device_t *device = iter.first(); device != NULL; device = iter.next()) @@ -2802,9 +2802,9 @@ static void execute_pcatmem(running_machine &machine, int ref, int params, const // Get the value of memory at the address const int nativeDataWidth = space->data_width() / 8; const UINT64 data = debug_read_memory(*space, - space->address_to_byte(address), - nativeDataWidth, - true); + space->address_to_byte(address), + nativeDataWidth, + true); // Recover the pc & print const address_spacenum spaceNum = (address_spacenum)ref; diff --git a/src/emu/debug/debugcpu.c b/src/emu/debug/debugcpu.c index 3c52455b74e..4101a0307a4 100644 --- a/src/emu/debug/debugcpu.c +++ b/src/emu/debug/debugcpu.c @@ -2647,9 +2647,9 @@ void device_debug::set_track_pc_visited(const offs_t& pc) // 'not available'. //------------------------------------------------- -offs_t device_debug::track_mem_pc_from_space_address_data(const address_spacenum& space, - const offs_t& address, - const UINT64& data) const +offs_t device_debug::track_mem_pc_from_space_address_data(const address_spacenum& space, + const offs_t& address, + const UINT64& data) const { const offs_t missing = (offs_t)(-1); if (m_track_mem_set.empty()) @@ -2702,7 +2702,7 @@ bool device_debug::comment_remove(offs_t addr) const char *device_debug::comment_text(offs_t addr) const { - const UINT32 crc = compute_opcode_crc32(addr); + const UINT32 crc = compute_opcode_crc32(addr); dasm_comment* comment = m_comment_set.find(dasm_comment(addr, crc, "", 0)); if (comment == NULL) return NULL; return comment->m_text; @@ -3553,7 +3553,7 @@ void device_debug::tracer::flush() device_debug::dasm_pc_tag::dasm_pc_tag(const offs_t& address, const UINT32& crc) : m_address(address), - m_crc(crc) + m_crc(crc) { } @@ -3561,14 +3561,14 @@ device_debug::dasm_pc_tag::dasm_pc_tag(const offs_t& address, const UINT32& crc) // dasm_memory_access - constructor //------------------------------------------------- -device_debug::dasm_memory_access::dasm_memory_access(const address_spacenum& address_space, - const offs_t& address, - const UINT64& data, - const offs_t& pc) +device_debug::dasm_memory_access::dasm_memory_access(const address_spacenum& address_space, + const offs_t& address, + const UINT64& data, + const offs_t& pc) : m_address_space(address_space), - m_address(address), - m_data(data), - m_pc(pc) + m_address(address), + m_data(data), + m_pc(pc) { } @@ -3578,7 +3578,7 @@ device_debug::dasm_memory_access::dasm_memory_access(const address_spacenum& add device_debug::dasm_comment::dasm_comment(offs_t address, UINT32 crc, const char *text, rgb_t color) : dasm_pc_tag(address, crc), - m_text(text), - m_color(color) + m_text(text), + m_color(color) { } diff --git a/src/emu/debug/debugcpu.h b/src/emu/debug/debugcpu.h index 75589ac6bc7..97da6ede8e6 100644 --- a/src/emu/debug/debugcpu.h +++ b/src/emu/debug/debugcpu.h @@ -261,7 +261,7 @@ public: // memory tracking void set_track_mem(bool value) { m_track_mem = value; } offs_t track_mem_pc_from_space_address_data(const address_spacenum& space, - const offs_t& address, + const offs_t& address, const UINT64& data) const; void track_mem_data_clear() { m_track_mem_set.clear(); } @@ -410,10 +410,10 @@ private: class dasm_memory_access { public: - dasm_memory_access(const address_spacenum& address_space, - const offs_t& address, - const UINT64& data, - const offs_t& pc); + dasm_memory_access(const address_spacenum& address_space, + const offs_t& address, + const UINT64& data, + const offs_t& pc); // required to be included in a simple_set bool operator < (const dasm_memory_access& rhs) const |