diff options
author | Scott Percival <code@moral.net.au> | 2021-03-03 10:01:17 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-03 11:01:17 +0100 |
commit | 5f4c4708ca67695468c114597e7e3408375dd098 (patch) | |
tree | 950486a9ff634a041cdbecb57e38d5b0a619feea /src/emu/debug/debugcpu.h | |
parent | 44cec5caaff1dbc24ee9f154c1745888b2319128 (diff) |
Add 'wpsize' variable to access the data size from a watchpoint (#7837)
Diffstat (limited to 'src/emu/debug/debugcpu.h')
-rw-r--r-- | src/emu/debug/debugcpu.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/emu/debug/debugcpu.h b/src/emu/debug/debugcpu.h index b21bd72b122..720c400b1ac 100644 --- a/src/emu/debug/debugcpu.h +++ b/src/emu/debug/debugcpu.h @@ -399,7 +399,7 @@ public: void set_memory_modified(bool memory_modified) { m_memory_modified = memory_modified; } void set_execution_stopped() { m_execution_state = exec_state::STOPPED; } void set_execution_running() { m_execution_state = exec_state::RUNNING; } - void set_wpinfo(offs_t address, u64 data) { m_wpaddr = address; m_wpdata = data; } + void set_wpinfo(offs_t address, u64 data, offs_t size) { m_wpaddr = address; m_wpdata = data; m_wpsize = size; } // device_debug helpers // [TODO] [RH]: Look into this more later, can possibly merge these two classes @@ -437,6 +437,7 @@ private: u64 m_wpdata; u64 m_wpaddr; + u64 m_wpsize; std::unique_ptr<u64[]> m_tempvar; osd_ticks_t m_last_periodic_update_time; |