Mercurial > repos > blastem
diff m68k.cpu @ 2639:0046305e3fa8
Fix movep with negative displacement
author | Michael Pavone <pavone@retrodev.com> |
---|---|
date | Wed, 26 Feb 2025 20:46:00 -0800 |
parents | e8b630a1ea4e |
children | bde8ec2d0f83 |
line wrap: on
line diff
--- a/m68k.cpu Wed Feb 26 20:45:40 2025 -0800 +++ b/m68k.cpu Wed Feb 26 20:46:00 2025 -0800 @@ -2453,6 +2453,7 @@ 0000DDD10Z001AAA movep_ay_dx local address 32 m68k_prefetch + sext 32 scratch1 scratch1 scratch1 += aregs.A address = scratch1 + 2 ocall read_8 @@ -2474,6 +2475,7 @@ 0000DDD11Z001AAA movep_dx_ay m68k_prefetch + sext 32 scratch1 scratch1 scratch2 = scratch1 + aregs.A if Z scratch1 = dregs.D >> 24