diff 68kinst.c @ 981:902c53d9c16f

Half assed, prefetch based open bus value emulation. Gets BlastEm up to 119/122 in VDP FIFO Testing
author Michael Pavone <pavone@retrodev.com>
date Sun, 24 Apr 2016 02:19:48 -0700
parents b4cf6573a3f8
children 261995d06897
line wrap: on
line diff
--- a/68kinst.c	Sun Apr 24 01:24:38 2016 -0700
+++ b/68kinst.c	Sun Apr 24 02:19:48 2016 -0700
@@ -1546,8 +1546,10 @@
 	}
 	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;
 }