]> git.unchartedbackwaters.co.uk Git - francis/winuae.git/commitdiff
Fix MOVES prefetch mode instruction length.
authorToni Wilen <twilen@winuae.net>
Fri, 22 Feb 2019 14:36:38 +0000 (16:36 +0200)
committerToni Wilen <twilen@winuae.net>
Fri, 22 Feb 2019 14:36:38 +0000 (16:36 +0200)
gencpu.cpp

index 3cb38b42583c0457b4fb8d42dc49ce8e757fc01e..25e8a107b292be1f4b98c2a5bf07fb43e53282f3 100644 (file)
@@ -5171,6 +5171,7 @@ bccl_not68020:
                        printf ("\tif (extra & 0x800)\n");
                        {
                                int old_m68k_pc_offset = m68k_pc_offset;
+                               int old_m68k_pc_total = m68k_pc_total;
                                old_brace_level = n_braces;
                                start_brace ();
                                printf ("\tuae_u32 src = regs.regs[(extra >> 12) & 15];\n");
@@ -5182,6 +5183,7 @@ bccl_not68020:
                                sync_m68k_pc();
                                pop_braces(old_brace_level);
                                m68k_pc_offset = old_m68k_pc_offset;
+                               m68k_pc_total = old_m68k_pc_total;
                        }
                        printf ("else");
                        {