diff 68kinst.c @ 208:3457dc6fd558

Tweaks to make blastem compatible with m68k-tester
author Mike Pavone <pavone@retrodev.com>
date Sat, 26 Jan 2013 01:33:32 -0800
parents 7c227a8ec53d
children 8db584faac4b
line wrap: on
line diff
--- a/68kinst.c	Fri Jan 25 18:39:22 2013 -0800
+++ b/68kinst.c	Sat Jan 26 01:33:32 2013 -0800
@@ -854,6 +854,10 @@
 		decoded->src.params.immed = immed;
 		break;
 	case MOVEQ:
+		if (*istream & 0x100) {
+			decoded->op = M68K_INVALID;
+			return start+1;
+		}
 		decoded->op = M68K_MOVE;
 		decoded->variant = VAR_QUICK;
 		decoded->extra.size = OPSIZE_LONG;