From 508a9aedf03d887dcc00a8c53caf8cef1ada2937 Mon Sep 17 00:00:00 2001 From: Michael Pavone Date: Sun, 24 Apr 2016 02:19:48 -0700 Subject: Half assed, prefetch based open bus value emulation. Gets BlastEm up to 119/122 in VDP FIFO Testing --- 68kinst.c | 2 ++ 1 file changed, 2 insertions(+) (limited to '68kinst.c') diff --git a/68kinst.c b/68kinst.c index 64aa5df..b1a2f37 100644 --- a/68kinst.c +++ b/68kinst.c @@ -1546,8 +1546,10 @@ uint16_t * m68k_decode(uint16_t * istream, m68kinst * decoded, uint32_t address) } if (decoded->op == M68K_INVALID) { decoded->src.params.immed = *start; + decoded->bytes = 2; return start + 1; } + decoded->bytes = 2 * (istream + 1 - start); return istream+1; } -- cgit v1.2.3