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: { case 0x7e: {
dp = op_readpc(); switch(++opcode_cycle) {
rd = op_readdp(dp); case 1:
regs.B.y = op_cmp(regs.B.y, rd); dp = op_readpc();
break;
case 2:
rd = op_readdp(dp);
regs.B.y = op_cmp(regs.B.y, rd);
opcode_cycle = 0;
break;
}
break; break;
} }

View File

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