Break a specific SMP opcode into cycles. Fixes Little Magic.

This commit is contained in:
Brandon Wright 2018-06-19 18:14:27 -05:00
parent af3dbf8b54
commit e91f14744b
2 changed files with 11 additions and 3 deletions

View File

@ -117,9 +117,16 @@ case 0x3e: {
}
case 0x7e: {
dp = op_readpc();
rd = op_readdp(dp);
regs.B.y = op_cmp(regs.B.y, rd);
switch(++opcode_cycle) {
case 1:
dp = op_readpc();
break;
case 2:
rd = op_readdp(dp);
regs.B.y = op_cmp(regs.B.y, rd);
opcode_cycle = 0;
break;
}
break;
}

View File

@ -6,6 +6,7 @@ Snes9x 1.56.2
- Clear WAI when IRQLine is active. Fixes Top Gear 3000. (BearOso)
- Fix reading the wrong tile data in mosaic drawing. Gets
rid of glitch at top of FF6 battle transitions. (BearOso)
- Break a specific opcode into cycles. Fixes Little Magic. (BearOso)
- Win32: Don't mix garbage into the last line with NTSC
filter. (OV2)
- Win32: Allow disabling scanlines in NTSC filter. (BearOso)