From: Toni Wilen Date: Wed, 11 Jan 2023 18:09:10 +0000 (+0200) Subject: Update SR before dumping CPU state X-Git-Tag: 41010~17 X-Git-Url: https://git.unchartedbackwaters.co.uk/w/?a=commitdiff_plain;h=33daa25566e07a9fa9b9cf38ff7690905d4283e9;p=francis%2Fwinuae.git Update SR before dumping CPU state --- diff --git a/newcpu.cpp b/newcpu.cpp index 1b76faff..6868ba8c 100644 --- a/newcpu.cpp +++ b/newcpu.cpp @@ -6631,6 +6631,7 @@ void m68k_dumpstate(uaecptr *nextpc, uaecptr prevpc) int i, j; uaecptr pc = M68K_GETPC; + MakeSR(); for (i = 0; i < 8; i++){ console_out_f (_T(" D%d %08X "), i, m68k_dreg (regs, i)); if ((i & 3) == 3) console_out_f (_T("\n"));