Mercurial > repos > blastem
changeset 296:f90aeea98e53
Fix encoding of "extended" instructions in Z80 test generator
author | Mike Pavone <pavone@retrodev.com> |
---|---|
date | Wed, 08 May 2013 21:02:33 -0700 |
parents | dba661846579 |
children | 147e31983730 |
files | ztestgen.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/ztestgen.c Wed May 08 17:39:13 2013 -0700 +++ b/ztestgen.c Wed May 08 21:02:33 2013 -0700 @@ -297,7 +297,7 @@ } else if(op == 0xED) { for (int subop = 0; subop < sizeof(z80_tbl_extd)/sizeof(z80inst); subop++) { if (!should_skip(z80_tbl_extd + subop)) { - inst[1] = subop; + inst[1] = subop + 0x40; z80_gen_test(z80_tbl_extd + subop, inst, 2); } }