Mercurial > repos > blastem
diff debug.c @ 707:8aa9aacefe12
Sync machine state before entering debugger
author | Michael Pavone <pavone@retrodev.com> |
---|---|
date | Thu, 14 May 2015 00:04:22 -0700 |
parents | f822d9216968 |
children | 7178d750efbd |
line wrap: on
line diff
--- a/debug.c Wed May 13 23:55:02 2015 -0700 +++ b/debug.c Thu May 14 00:04:22 2015 -0700 @@ -471,6 +471,7 @@ 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) {