diff options
author | Michael Pavone <pavone@retrodev.com> | 2015-05-14 00:04:22 -0700 |
---|---|---|
committer | Michael Pavone <pavone@retrodev.com> | 2015-05-14 00:04:22 -0700 |
commit | b88dc02ba056c2b5891b1bb062a2ad44df5df544 (patch) | |
tree | e4f449b51b61ad539556e32052594e1ec2556273 /debug.c | |
parent | 9ad6463d0b731c4afda4fceb9a9683e2f65e14f5 (diff) |
Sync machine state before entering debugger
Diffstat (limited to 'debug.c')
-rw-r--r-- | debug.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -471,6 +471,7 @@ m68k_context * debugger(m68k_context * context, uint32_t address) static uint32_t branch_t; static uint32_t branch_f; m68kinst inst; + sync_components(context, 0); //probably not necessary, but let's play it safe address &= 0xFFFFFF; if (address == branch_t) { |