diff options
| author | 2016-09-27 14:24:33 +0100 | |
|---|---|---|
| committer | 2016-09-27 14:26:27 +0100 | |
| commit | 1a186c8a3a16a7ce99d7df2dd217a7552b696c92 (patch) | |
| tree | db6f7a7442ccc924049e3354c8cded6d62071ecd /src/emu/debug/debugcmd.cpp | |
| parent | 3957d89e4466d87f86a42597a49db12a7c040520 (diff) | |
Make sure all cpu's export STATE_GENPCBASE and use safe_pcbase() for everything in the debugger, which allows interruptible cpu's to work properly. [smf]
Diffstat (limited to 'src/emu/debug/debugcmd.cpp')
| -rw-r--r-- | src/emu/debug/debugcmd.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/emu/debug/debugcmd.cpp b/src/emu/debug/debugcmd.cpp index 99cdefb3b36..9fd4d1a860b 100644 --- a/src/emu/debug/debugcmd.cpp +++ b/src/emu/debug/debugcmd.cpp @@ -2628,7 +2628,7 @@ void debugger_commands::execute_trackpc(int ref, int params, const char *param[] // Insert current pc if (m_cpu.get_visible_cpu() == cpu) { - const offs_t pc = cpu->safe_pc(); + const offs_t pc = cpu->safe_pcbase(); cpu->debug()->set_track_pc_visited(pc); } m_console.printf("PC tracking enabled\n"); |
